浏览代码

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>
Marc Dietrich 14 年之前
父节点
当前提交
5b7bea9f12
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/spi/spi-tegra.c

+ 1 - 0
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>