From: Paul Gortmaker Date: Tue, 21 Jan 2014 21:22:33 +0000 (-0500) Subject: i2c: acorn: is tristate and should use module.h X-Git-Tag: v3.14-rc1~52^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=667693301a414a8c9a1b361f668548fe174c345a;p=karo-tx-linux.git 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 Signed-off-by: Wolfram Sang --- 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 +#include #include #include #include