diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-09-30 10:48:32 -0700 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-11-17 03:07:09 +0100 |
commit | 8f57f2310f6b5f787a29e4eb440afd8b3f6b2554 (patch) | |
tree | 3798effb74187f9c7814525b73bd406e08d5c618 /scripts/gdb/linux/modules.py | |
parent | 745e19764a0cff55a55010cfabe7e9ff77fa72a5 (diff) |
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions