summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2014-01-21 16:22:33 -0500
committerWolfram Sang <wsa@the-dreams.de>2014-01-24 18:21:11 +0100
commit667693301a414a8c9a1b361f668548fe174c345a (patch)
tree5adef319abd53bdde7ddfa331906e8752c7d2ca5 /drivers/i2c
parent66f8a8ff9d5ab28a86d9029b7a7f99c9aa85ef24 (diff)
downloadblackbird-op-linux-667693301a414a8c9a1b361f668548fe174c345a.tar.gz
blackbird-op-linux-667693301a414a8c9a1b361f668548fe174c345a.zip
i2c: acorn: is tristate and should use module.h
This file is controlled by a tristate Kconfig option, and hence needs to include module.h so that it can get module_init() once we relocate it from init.h into module.h in the future. Note that module_exit() appears to be missing from the driver, so it is questionable whether it would actually work for a removal and reload cycle if it was configured for a modular build. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-acorn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c
index ed9f48d566db..9d7be5af2bf2 100644
--- a/drivers/i2c/busses/i2c-acorn.c
+++ b/drivers/i2c/busses/i2c-acorn.c
@@ -12,7 +12,7 @@
* On Acorn machines, the following i2c devices are on the bus:
* - PCF8583 real time clock & static RAM
*/
-#include <linux/init.h>
+#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/io.h>
OpenPOWER on IntegriCloud