Skip to content

Commit

Permalink
i2c-gpio: Use linux/gpio.h rather than asm/gpio.h
Browse files Browse the repository at this point in the history
Direct inclusion of asm/gpio.h has been deprecated for a while now due
to the cross platform gpiolib.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Mark Brown authored and Jean Delvare committed Mar 26, 2012
1 parent e22057c commit c54c355
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/i2c/busses/i2c-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>

#include <asm/gpio.h>
#include <linux/gpio.h>

/* Toggle SDA by changing the direction of the pin */
static void i2c_gpio_setsda_dir(void *data, int state)
Expand Down

0 comments on commit c54c355

Please sign in to comment.