diff options
author | Julia Lawall <julia@diku.dk> | 2009-09-16 11:06:52 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-10-12 15:30:50 +0800 |
commit | c639ef431797813a9ab509e7cb5c77a080277a5b (patch) | |
tree | ce8dcc72230bd46b1fb657a725bf04d15b70283d | |
parent | 161291396e76e0832c08f617eb9bd364d1648148 (diff) | |
download | kernel-common-c639ef431797813a9ab509e7cb5c77a080277a5b.tar.gz kernel-common-c639ef431797813a9ab509e7cb5c77a080277a5b.tar.bz2 kernel-common-c639ef431797813a9ab509e7cb5c77a080277a5b.zip |
[ARM] pxa/csb726: adjust duplicate structure field initialization
Currently the irq_type field of the csb726_lan_config structure is
initialized twice. The value in the first case,
SMSC911X_IRQ_POLARITY_ACTIVE_LOW, is normally stored in the irq_polarity
field, so I have renamed the field in the first initialization to that.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r-- | arch/arm/mach-pxa/csb726.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/csb726.c b/arch/arm/mach-pxa/csb726.c index 79141f862728..965480eb4fe6 100644 --- a/arch/arm/mach-pxa/csb726.c +++ b/arch/arm/mach-pxa/csb726.c @@ -238,7 +238,7 @@ static struct resource csb726_lan_resources[] = { }; struct smsc911x_platform_config csb726_lan_config = { - .irq_type = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, + .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, .flags = SMSC911X_USE_32BIT, .phy_interface = PHY_INTERFACE_MODE_MII, |