[POWERPC] Move of_device_get_modalias to drivers/of
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 16 May 2008 01:57:45 +0000 (11:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 May 2008 13:22:28 +0000 (23:22 +1000)
commit09e67ca2c523544e6b38aa570a5f62a0cf20b87b
tree134d2ba98b567586dd34ffa7d7f8cfd8fe0de149
parent7bc228b1ef71f395aeb89bdf81bf95556b08b374
[POWERPC] Move of_device_get_modalias to drivers/of

Commit 140b932f8cb6cced10b96860651a198b1b89cbb9 ("Create modalias file
in sysfs for of_platform bus") needs this to avoid breaking the sparc
builds.

Just move the code and add whitespace around some binary operators.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_device.c
drivers/of/device.c
include/asm-powerpc/of_device.h
include/linux/of_device.h