diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-10-20 18:15:30 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-22 07:00:38 -0400 |
commit | 319edafef64406c971035c56bd68480e5a82b581 (patch) | |
tree | bef9d87129f0ee70ab3df01d7c21bcd7736eca32 /include/linux/smc911x.h | |
parent | bd2c4972fff2d621383bc2c3389a7b1ac7eca8f1 (diff) | |
download | kernel_samsung_espresso10-319edafef64406c971035c56bd68480e5a82b581.zip kernel_samsung_espresso10-319edafef64406c971035c56bd68480e5a82b581.tar.gz kernel_samsung_espresso10-319edafef64406c971035c56bd68480e5a82b581.tar.bz2 |
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/smc911x.h')
-rw-r--r-- | include/linux/smc911x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smc911x.h b/include/linux/smc911x.h index b58f54c..521f371 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__ */ |