aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2012-07-07 08:51:03 +1000
committerSamuel Ortiz <[email protected]>2012-07-09 15:13:41 +0200
commit17ffba6ad235cf9c21937ee1343df0d0fb2371fa (patch)
tree30cbac06fa6a4bc7a7b3b3e9f44e8e5063eb4e5a /lib/mpi/mpi-inline.h
parent5500e3964b8c154dc5af51ebcd7cd4df5d4abfee (diff)
mfd: Move twl-core device_init_wakeup to after platform_device_add
device_init_wakeup uses the dev_name() of the device to set the name of the wakeup_source which appears in /sys/kernel/debug/wakeup_sources. For a platform device, that name is not set until platform_device_add calls dev_set_name. So the call to device_init_wakeup() must be after the call to platform_device_add(). Making this change causes correct names to appear in the wakeup_sources file. Signed-off-by: NeilBrown <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions