projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7614de
)
spi: Add export.h for THIS_MODULE/EXPORT_SYMBOL to spi.c
author
Paul Gortmaker
<paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 16:57:55 +0000
(12:57 -0400)
committer
Paul Gortmaker
<paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:17 +0000
(19:32 -0400)
This uses both EXPORT_SYMBOL and THIS_MODULE, both which come from
the export.h file now.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/spi/spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index 4d1b9f517ce842011ecf377257dae53eb429563f..77eae99af11ce7ee1541816f3e8c99b352b7a241 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-29,6
+29,7
@@
#include <linux/spi/spi.h>
#include <linux/of_spi.h>
#include <linux/pm_runtime.h>
+#include <linux/export.h>
static void spidev_release(struct device *dev)
{