From: Jingoo Han Date: Thu, 1 Aug 2013 05:39:46 +0000 (+0900) Subject: watchdog: kempld_wdt: Add __user annotation X-Git-Tag: v3.13-rc1~42^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3970bdebbb2901becca7cb82e44b5c5976f0fae;p=pandora-kernel.git watchdog: kempld_wdt: Add __user annotation Added __user annotation to fix the following sparse warnings. Also, it makes 'kempld_prescaler' static because it is used only in this file. drivers/watchdog/kempld_wdt.c:70:11: warning: symbol 'kempld_prescaler' was not declared. Should it be static? drivers/watchdog/kempld_wdt.c:364:23: warning: incorrect type in initializer (different address spaces) drivers/watchdog/kempld_wdt.c:364:23: expected int const [noderef] *register __p drivers/watchdog/kempld_wdt.c:364:23: got int * Signed-off-by: Jingoo Han Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed