|
@@ -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 <asm/gpio.h>
|
|
|
|
|
|
+#include <linux/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)
|