From: Masood Mehmood Date: Tue, 18 Mar 2014 20:40:14 +0000 (-0700) Subject: staging: dgap: Fixed sparse error: same symbol redeclared with different type X-Git-Tag: v3.15-rc1~139^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd54889b65cc32fc64e5a6c456fbf6aab4bd258a;p=pandora-kernel.git staging: dgap: Fixed sparse error: same symbol redeclared with different type sparse reported dgap_do_fep_load is redeclared with different type. while fixing, I noticed __user attribute is used incorrectly in declaration. There is no need to define __user for firware->data. Replaced the __user with 'const uchar *' from function dgap_do_fep_load and did the same for function dgap_do_bios_load patch generated against: next-20140318 Signed-off-by: Masood Mehmood Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed