瀏覽代碼

Input: gpio_mouse - use linux/gpio.h rather than asm/gpio.h

Direct usage of the asm include has long been deprecated by the
introduction of gpiolib.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Mark Brown 13 年之前
父節點
當前提交
55158c886a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/input/mouse/gpio_mouse.c

+ 1 - 1
drivers/input/mouse/gpio_mouse.c

@@ -12,9 +12,9 @@
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include <linux/input-polldev.h>
 #include <linux/input-polldev.h>
+#include <linux/gpio.h>
 #include <linux/gpio_mouse.h>
 #include <linux/gpio_mouse.h>
 
 
-#include <asm/gpio.h>
 
 
 /*
 /*
  * Timer function which is run every scan_ms ms when the device is opened.
  * Timer function which is run every scan_ms ms when the device is opened.