summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-10-20 21:15:30 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-10-22 15:00:38 +0400
commit319edafef64406c971035c56bd68480e5a82b581 (patch)
treebef9d87129f0ee70ab3df01d7c21bcd7736eca32 /include/linux
parentbd2c4972fff2d621383bc2c3389a7b1ac7eca8f1 (diff)
downloadlinux-319edafef64406c971035c56bd68480e5a82b581.tar.xz
smc911x: Add IRQ polarity configuration
Platforms like ARM Ltd's RealView require the IRQ polarity bit to be set for the SMC9118 chip. This patch allows the dynamic configuration via the smc911x_platdata structure. This patch also changes the smc91x_platdata structure name to the correct smc911x_platdata in the smc911x_drv_probe() function. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/smc911x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smc911x.h b/include/linux/smc911x.h
index b58f54c24183..521f37143fae 100644
--- a/include/linux/smc911x.h
+++ b/include/linux/smc911x.h
@@ -7,6 +7,7 @@
struct smc911x_platdata {
unsigned long flags;
unsigned long irq_flags; /* IRQF_... */
+ int irq_polarity;
};
#endif /* __SMC911X_H__ */