Skip to content

Commit

Permalink
spi: Add export.h for THIS_MODULE/EXPORT_SYMBOL to spi.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent d7614de commit 025ed13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 025ed13

Please sign in to comment.