Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: dm355evm_msp: Move header file out of I2C realm

include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Wolfram Sang and committed by
Lee Jones
0335a955 5771a8c0

+3 -3
+1 -1
drivers/input/misc/dm355evm_keys.c
··· 15 15 #include <linux/platform_device.h> 16 16 #include <linux/interrupt.h> 17 17 18 - #include <linux/i2c/dm355evm_msp.h> 18 + #include <linux/mfd/dm355evm_msp.h> 19 19 #include <linux/module.h> 20 20 21 21
+1 -1
drivers/mfd/dm355evm_msp.c
··· 18 18 #include <linux/gpio.h> 19 19 #include <linux/leds.h> 20 20 #include <linux/i2c.h> 21 - #include <linux/i2c/dm355evm_msp.h> 21 + #include <linux/mfd/dm355evm_msp.h> 22 22 23 23 24 24 /*
+1 -1
drivers/rtc/rtc-dm355evm.c
··· 13 13 #include <linux/rtc.h> 14 14 #include <linux/platform_device.h> 15 15 16 - #include <linux/i2c/dm355evm_msp.h> 16 + #include <linux/mfd/dm355evm_msp.h> 17 17 #include <linux/module.h> 18 18 19 19
include/linux/i2c/dm355evm_msp.h include/linux/mfd/dm355evm_msp.h