[PATCH ?] pcmcia: ti113x: fix ENE_TEST_C9_PFENABLE definition

摘自: LKML  被阅读次数: 18


由'机器人'于 2008-05-14 05:02:38 提供


DateTue, 13 May 2008 23:04:20 +0200
FromRoel Kluin <>
Subject[PATCH ?] pcmcia: ti113x: fix ENE_TEST_C9_PFENABLE definition

This code was added in commit 8c3520d4eb3b1bbf2e45fbae8dcfb8db06d5e775
Is the replacement below correct, or should the second ENE_TEST_C9_PFENABLE_F0
be removed? The patch below assumes the former is correct.
---
Fix ENE_TEST_C9_PFENABLE definition.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/pcmcia/ti113x.h b/drivers/pcmcia/ti113x.h
index d29657b..87a5fd5 100644
--- a/drivers/pcmcia/ti113x.h
+++ b/drivers/pcmcia/ti113x.h
@@ -155,7 +155,7 @@
 #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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

原文链接: http://lkml.org/lkml/2008/5/13/433
下载该patch