Patchwork [RFC,v2,1/4] Input: matrix_keypad: Device driver interfaces

login
register
mail settings
Submitter Abraham Arce
Date May 13, 2010, 8:50 p.m.
Message ID <27F9C60D11D683428E133F85D2BB4A53043E113BF7@dlee03.ent.ti.com>
Download mbox | patch
Permalink /patch/99429/
State New, archived
Headers show

Comments

Patch

diff --git a/include/linux/input/matrix_keypad.h b/include/linux/input/matrix_keypad.h
index c964cd7..552e11d 100644
--- a/include/linux/input/matrix_keypad.h
+++ b/include/linux/input/matrix_keypad.h
@@ -66,6 +66,13 @@  struct matrix_keypad_platform_data {
 	bool		active_low;
 	bool		wakeup;
 	bool		no_autorepeat;
+
+	void __iomem *base;
+	u16 irq;
+
+	int (*device_enable) (struct platform_device *pdev);
+	int (*device_shutdown) (struct platform_device *pdev);
+	int (*device_idle) (struct platform_device *pdev);
 };
 
 /**