diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2010-05-20 16:40:02 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-06-07 12:22:57 -0400 |
commit | 4f2d364b315191bf9f8659f7d221acdf5506a989 (patch) | |
tree | 40ce8d366a4fa40ad9f4ca0733ed02a9050a461f /drivers/pcmcia | |
parent | 02caa56e4b789b80ae7e0f0f0789f94b44ad32ef (diff) |
pcmcia: yenta_socket.c Remove extra #ifdef CONFIG_YENTA_TI
Seems pointless to have two #ifdef's with the same
CONFIG_YENTA_TI. Remove the extra one and
move CARDBUS_TYPE_ENE with the others.
[linux@dominikbrodowski.net: spelling & whitespace fixes]
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/yenta_socket.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index 6bf8b2c06c7d..f1d41374eea7 100644 --- a/drivers/pcmcia/yenta_socket.c +++ b/drivers/pcmcia/yenta_socket.c | |||
@@ -880,6 +880,12 @@ static struct cardbus_type cardbus_type[] = { | |||
880 | .restore_state = ti_restore_state, | 880 | .restore_state = ti_restore_state, |
881 | .sock_init = ti_init, | 881 | .sock_init = ti_init, |
882 | }, | 882 | }, |
883 | [CARDBUS_TYPE_ENE] = { | ||
884 | .override = ene_override, | ||
885 | .save_state = ti_save_state, | ||
886 | .restore_state = ti_restore_state, | ||
887 | .sock_init = ti_init, | ||
888 | }, | ||
883 | #endif | 889 | #endif |
884 | #ifdef CONFIG_YENTA_RICOH | 890 | #ifdef CONFIG_YENTA_RICOH |
885 | [CARDBUS_TYPE_RICOH] = { | 891 | [CARDBUS_TYPE_RICOH] = { |
@@ -902,14 +908,6 @@ static struct cardbus_type cardbus_type[] = { | |||
902 | .restore_state = o2micro_restore_state, | 908 | .restore_state = o2micro_restore_state, |
903 | }, | 909 | }, |
904 | #endif | 910 | #endif |
905 | #ifdef CONFIG_YENTA_TI | ||
906 | [CARDBUS_TYPE_ENE] = { | ||
907 | .override = ene_override, | ||
908 | .save_state = ti_save_state, | ||
909 | .restore_state = ti_restore_state, | ||
910 | .sock_init = ti_init, | ||
911 | }, | ||
912 | #endif | ||
913 | }; | 911 | }; |
914 | 912 | ||
915 | 913 | ||