summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-10 18:57:55 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:32:17 +0100
commit025ed130608766bf2a18523a1ac11a860746a4e4 (patch)
treecdf522b2a4b370a500e1bc15f417eb24ba03d0fc /drivers/spi
parentspi: Add module.h to implicit users in drivers/spi (diff)
downloadlinux-025ed130608766bf2a18523a1ac11a860746a4e4.tar.xz
linux-025ed130608766bf2a18523a1ac11a860746a4e4.zip
spi: Add export.h for THIS_MODULE/EXPORT_SYMBOL to spi.c
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 4d1b9f517ce8..77eae99af11c 100644
--- 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)
{