From: Lorenzo Stoakes Date: Fri, 20 Mar 2015 15:22:14 +0000 (+0000) Subject: staging: sm750fb: Fix __iomem pointer types X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35fb80b9de08024b375d76f08591ec5b7cc57995;p=pandora-kernel.git staging: sm750fb: Fix __iomem pointer types This patch annotates pointers as referring to I/O mapped memory where they ought to be, removes now unnecessary ugly casts, eliminates an incorrect deref on I/O mapped memory by using iowrite16 instead, and updates the pointer arithmetic accordingly to take into account that the pointers are now byte-sized. This fixes the following sparse warnings:- drivers/staging/sm750fb/sm750_cursor.c:113:19: warning: cast removes address space of expression drivers/staging/sm750fb/sm750_cursor.c:204:19: warning: cast removes address space of expression Signed-off-by: Lorenzo Stoakes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed