]> err.no Git - linux-2.6/commit
[POWERPC] Export of_device_get_modalias
authorSylvain Munaut <tnt@246tNt.com>
Sun, 6 May 2007 15:38:46 +0000 (01:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 May 2007 10:31:15 +0000 (20:31 +1000)
commitde41189bf6838c1c885d360e5cdf7ec6b4d336d6
tree5b362c3bed9ed08aefcc6e9f2307ed11034c256a
parentd25a9d66e064e14aacc57c7fa95ca4b489df3df0
[POWERPC] Export of_device_get_modalias

Apparently other parts of the kernel need to know the
modalias internally (like the sysfs code in macintosh driver).

To avoid consistency issues, we export this code and use it
everywhere it's needed rather than repeat it ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_device.c
include/asm-powerpc/of_device.h