diff mbox

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

Message ID 27F9C60D11D683428E133F85D2BB4A53043E113BF7@dlee03.ent.ti.com (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Abraham Arce May 13, 2010, 8:50 p.m. UTC
None
diff mbox

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);
 };
 
 /**