summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/smc911x.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/smc911x.h')
-rw-r--r--kernel/include/linux/smc911x.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/include/linux/smc911x.h b/kernel/include/linux/smc911x.h
new file mode 100644
index 000000000..521f37143
--- /dev/null
+++ b/kernel/include/linux/smc911x.h
@@ -0,0 +1,13 @@
+#ifndef __SMC911X_H__
+#define __SMC911X_H__
+
+#define SMC911X_USE_16BIT (1 << 0)
+#define SMC911X_USE_32BIT (1 << 1)
+
+struct smc911x_platdata {
+ unsigned long flags;
+ unsigned long irq_flags; /* IRQF_... */
+ int irq_polarity;
+};
+
+#endif /* __SMC911X_H__ */