summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2011-10-13 11:01:33 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-10-15 00:41:04 +0200
commit5b7bea9f12440f58cc3732b0d9e7351d75694679 (patch)
tree0091423a07855ccfbe0e54e73d9ed3402e97d1f6 /drivers
parentspi: spi-dw: fix all sparse warnings (diff)
downloadlinux-5b7bea9f12440f58cc3732b0d9e7351d75694679.tar.xz
linux-5b7bea9f12440f58cc3732b0d9e7351d75694679.zip
spi/tegra: fix compilation error in spi-tegra.c
Add #include <linux/module.h> to spi-tegra.c to fix a compilation error after the removal of module.h from device.h (in patch: "include: replace linux/module.h with "struct module" wherever possible"). Signed-off-by: Marc Dietrich <marvin24@gmx.de> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-tegra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-tegra.c b/drivers/spi/spi-tegra.c
index a5a6302dc8e0..e8cd58f63e22 100644
--- a/drivers/spi/spi-tegra.c
+++ b/drivers/spi/spi-tegra.c
@@ -18,6 +18,7 @@
*/
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>