mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
[POWERPC] Move of_device_get_modalias to drivers/of
Commit 140b932f8c
("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>
This commit is contained in:
committed by
Paul Mackerras
parent
7bc228b1ef
commit
09e67ca2c5
@@ -24,4 +24,7 @@ static inline void of_device_free(struct of_device *dev)
|
||||
of_release_dev(&dev->dev);
|
||||
}
|
||||
|
||||
extern ssize_t of_device_get_modalias(struct of_device *ofdev,
|
||||
char *str, ssize_t len);
|
||||
|
||||
#endif /* _LINUX_OF_DEVICE_H */
|
||||
|
Reference in New Issue
Block a user