From: Lidza Louina Date: Mon, 26 Aug 2013 16:49:31 +0000 (-0400) Subject: staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse X-Git-Tag: v3.12-rc1~183^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7915dea707820724ad5d5117e9e07ccccf712dd6;p=pandora-kernel.git staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse This patch changes the board_t->re_map_membase variable type and marker. It removes these warnings found in the neo.c, driver.c and cls.c files: warning: incorrect type in argument 1 (different address spaces) expected void const volatile [noderef] *addr got unsigned char volatile * warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] *addr got unsigned char volatile * The variables passed to readb and writeb need to be of type u8 with a __iomem marker. These warnings were popping up everytime the readb and writeb functions were called with a board_t->re_map_membase variable. The change made to the driver.h file adds the marker and changes the variable type. Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed