Skip to content
Snippets Groups Projects
Commit c54c3557 authored by Mark Brown's avatar Mark Brown Committed by Jean Delvare
Browse files

i2c-gpio: Use linux/gpio.h rather than asm/gpio.h


Direct inclusion of asm/gpio.h has been deprecated for a while now due
to the cross platform gpiolib.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent e22057c8
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/gpio.h>
#include <asm/gpio.h>
/* Toggle SDA by changing the direction of the pin */ /* Toggle SDA by changing the direction of the pin */
static void i2c_gpio_setsda_dir(void *data, int state) static void i2c_gpio_setsda_dir(void *data, int state)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment