]> err.no Git - linux-2.6/commitdiff
pcmcia: yenta-cardbus: ENE_TEST_C9_PFENABLE duplicate *_F0
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 30 Jan 2008 14:28:16 +0000 (15:28 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Tue, 24 Jun 2008 13:33:37 +0000 (15:33 +0200)
The test only makes sense if we check for _F0 and _F1.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
CC: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ti113x.h

index d29657bf1b40faecefd0598ad73cc60c42d292c1..87a5fd5c2127afdf5c5805d541cfe0f544b71355 100644 (file)
 #define ENE_TEST_C9_TLTENABLE          0x02
 #define ENE_TEST_C9_PFENABLE_F0                0x04
 #define ENE_TEST_C9_PFENABLE_F1                0x08
-#define ENE_TEST_C9_PFENABLE           (ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F0)
+#define ENE_TEST_C9_PFENABLE           (ENE_TEST_C9_PFENABLE_F0 | ENE_TEST_C9_PFENABLE_F1)
 #define ENE_TEST_C9_WPDISALBLE_F0      0x40
 #define ENE_TEST_C9_WPDISALBLE_F1      0x80
 #define ENE_TEST_C9_WPDISALBLE         (ENE_TEST_C9_WPDISALBLE_F0 | ENE_TEST_C9_WPDISALBLE_F1)