diff mbox

[-next] staging: wilc1000: Include linux/gpio.h instead of asm/gpio.h

Message ID 1432756936-6188-1-git-send-email-linux@roeck-us.net (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Guenter Roeck May 27, 2015, 8:02 p.m. UTC
Fix:

drivers/staging/wilc1000/linux_wlan.c:18:22: fatal error:
	asm/gpio.h: No such file or directory

Not every architecture has asm/gpio.h. Include linux/gpio.h instead.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/staging/wilc1000/linux_wlan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 49b238a05a88..18f1bd00201a 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -15,7 +15,7 @@ 
 #include <linux/workqueue.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
 
 #include <linux/kthread.h>
 #include <linux/firmware.h>