aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKevin Hilman <[email protected]>2010-08-25 12:50:00 -0700
committerGreg Kroah-Hartman <[email protected]>2010-10-22 10:16:42 -0700
commitc64a0926710153b9d44c979d2942f4a8648fd74e (patch)
tree331fe35475ec201c69c2292773a229659e07eb8b /net/unix/af_unix.c
parent1037246cacd45d951227c8798f181b3ba5c8bcbe (diff)
driver core: platform_bus: allow runtime override of dev_pm_ops
Currently, the platform_bus allows customization of several of the busses dev_pm_ops methods by using weak symbols so that platform code can override them. The weak-symbol approach is not scalable when wanting to support multiple platforms in a single kernel binary. Instead, provide __init methods for platform code to customize the dev_pm_ops methods at runtime. NOTE: after these dynamic methods are merged, the weak symbols should be removed from drivers/base/platform.c. AFAIK, this will only affect SH and sh-mobile which should be converted to use this runtime approach instead of the weak symbols. After SH & sh-mobile are converted, the weak symobols could be removed. Tested on OMAP3. Cc: Magnus Damm <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Kevin Hilman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions