mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
gpio: adp5588: 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: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
e3fe07e03e
commit
c1a4634013
@ -22,7 +22,7 @@
|
||||
#include <linux/usb/isp1362.h>
|
||||
#endif
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c/adp5588.h>
|
||||
#include <linux/platform_data/adp5588.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/ata_platform.h>
|
||||
#include <linux/irq.h>
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/irq.h>
|
||||
|
||||
#include <linux/i2c/adp5588.h>
|
||||
#include <linux/platform_data/adp5588.h>
|
||||
|
||||
#define DRV_NAME "adp5588-gpio"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <linux/i2c/adp5588.h>
|
||||
#include <linux/platform_data/adp5588.h>
|
||||
|
||||
/* Key Event Register xy */
|
||||
#define KEY_EV_PRESSED (1 << 7)
|
||||
|
Loading…
Reference in New Issue
Block a user