Skip to content

Commit

Permalink
spi/tegra: fix compilation error in spi-tegra.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Dietrich authored and Grant Likely committed Oct 14, 2011
1 parent 7eb187b commit 5b7bea9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spi-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5b7bea9

Please sign in to comment.