|
@@ -1,7 +1,7 @@
|
|
|
/*
|
|
|
* Intel MID GPIO driver
|
|
|
*
|
|
|
- * Copyright (c) 2008-2014 Intel Corporation.
|
|
|
+ * Copyright (c) 2008-2014,2016 Intel Corporation.
|
|
|
*
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
@@ -19,18 +19,18 @@
|
|
|
* Clovertrail platform Cloverview chip.
|
|
|
*/
|
|
|
|
|
|
-#include <linux/module.h>
|
|
|
-#include <linux/pci.h>
|
|
|
-#include <linux/platform_device.h>
|
|
|
-#include <linux/kernel.h>
|
|
|
#include <linux/delay.h>
|
|
|
-#include <linux/stddef.h>
|
|
|
-#include <linux/interrupt.h>
|
|
|
#include <linux/init.h>
|
|
|
+#include <linux/interrupt.h>
|
|
|
#include <linux/io.h>
|
|
|
#include <linux/gpio/driver.h>
|
|
|
-#include <linux/slab.h>
|
|
|
+#include <linux/kernel.h>
|
|
|
+#include <linux/module.h>
|
|
|
+#include <linux/pci.h>
|
|
|
+#include <linux/platform_device.h>
|
|
|
#include <linux/pm_runtime.h>
|
|
|
+#include <linux/slab.h>
|
|
|
+#include <linux/stddef.h>
|
|
|
|
|
|
#define INTEL_MID_IRQ_TYPE_EDGE (1 << 0)
|
|
|
#define INTEL_MID_IRQ_TYPE_LEVEL (1 << 1)
|