From: Lidza Louina Date: Mon, 26 Aug 2013 17:56:11 +0000 (-0400) Subject: staging: dgnc: neo.c: changes param in neo_read_eeprom function for sparse X-Git-Tag: v3.12-rc1~183^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ac546ea4b5e71dafb80892558ca0f125187998;p=pandora-kernel.git staging: dgnc: neo.c: changes param in neo_read_eeprom function for sparse This patch adds a marker to neo_read_eeprom function's base parameter. It removes these warnings found in neo.c: warning: incorrect type in argument 1 (different address spaces) expected unsigned char *base got unsigned char [noderef] [usertype] *re_map_membase warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] *addr got unsigned char * These warnings happen because this function gets called with a board_t->re_map_base variable. A previous patch added the __iomem marker to this variable. This patch ensures that the changes are consistent. Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed