]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa/csb726: adjust duplicate structure field initialization
authorJulia Lawall <julia@diku.dk>
Wed, 16 Sep 2009 09:06:52 +0000 (11:06 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 12 Oct 2009 07:30:50 +0000 (15:30 +0800)
commitf0a820cfdf63fed6a33fcc3e5efd198e30f4f6dc
treece8dcc72230bd46b1fb657a725bf04d15b70283d
parent61f1b9edc95b33df689a3ef47d0887d2179baacf
[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>
arch/arm/mach-pxa/csb726.c