Searched hist:"8 f57f231" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/reset/ |
H A D | xgene-reboot.c | 8f57f231 Tue Sep 30 12:48:32 CDT 2014 Guenter Roeck <linux@roeck-us.net> power/reset: xgene: Register with kernel restart handler
Register with kernel restart handler instead of setting arm_pm_restart directly.
This patch also addresses the following compile warning.
drivers/power/reset/xgene-reboot.c: In function 'xgene_reboot_probe': drivers/power/reset/xgene-reboot.c:77:17: warning: assignment from incompatible pointer type [enabled by default]
The warning was due to a mismatch between the type of arm_pm_restart and the restart function.
Cc: Loc Ho <lho@apm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> 8f57f231 Tue Sep 30 12:48:32 CDT 2014 Guenter Roeck <linux@roeck-us.net> power/reset: xgene: Register with kernel restart handler Register with kernel restart handler instead of setting arm_pm_restart directly. This patch also addresses the following compile warning. drivers/power/reset/xgene-reboot.c: In function 'xgene_reboot_probe': drivers/power/reset/xgene-reboot.c:77:17: warning: assignment from incompatible pointer type [enabled by default] The warning was due to a mismatch between the type of arm_pm_restart and the restart function. Cc: Loc Ho <lho@apm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|