]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/spi: Add export.h for THIS_MODULE/EXPORT_SYMBOL to spi.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 16:57:55 +0000 (12:57 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:22 +0000 (04:06 -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

index 4d1b9f517ce842011ecf377257dae53eb429563f..77eae99af11ce7ee1541816f3e8c99b352b7a241 100644 (file)
@@ -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)
 {