w1: Use linux/gpio.h rather than asm/gpio.h
PATCH 1/1 w1: Use linux/gpio.h rather than asm/gpio.h
Direct inclusion of the asm header has long been deprecated by the introduction of gpiolib.
Signed-off-by Mark Brown <[email protected]>
--- drivers/w1/masters/w1-gpio.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/w1/masters/w1-gpio.c +1 -2
@@ -13,12 +13,11 @@#include <linux/platform_device.h> #include <linux/slab.h> #include <linux/w1-gpio.h> +#include <linux/gpio.h> #include "../w1.h" #include "../w1_int.h" -#include <asm/gpio.h> -static void w1_gpio_write_bit_dir (void *data,u8 bit) {struct w1_gpio_platform_data *pdata = data;
Signature · 1 line
1.7.9.rc1
Quoted 2 lines · Mark Brown
Direct inclusion of the asm header has long been deprecated by the introduction of gpiolib.
Looks good, thank you
Greg, please apply it to your tree
Quoted 1 line
Signed-off-by Mark Brown <[email protected]>
Acked-by Evgeniy Polyakov <[email protected]>
Signature · 1 line
Evgeniy Polyakov