mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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. [[email protected]: spelling & whitespace fixes] Signed-off-by: Justin P. Mattock <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
02caa56e4b
commit
4f2d364b31
1 changed files with 6 additions and 8 deletions
|
|
@ -880,6 +880,12 @@ static struct cardbus_type cardbus_type[] = {
|
|||
.restore_state = ti_restore_state,
|
||||
.sock_init = ti_init,
|
||||
},
|
||||
[CARDBUS_TYPE_ENE] = {
|
||||
.override = ene_override,
|
||||
.save_state = ti_save_state,
|
||||
.restore_state = ti_restore_state,
|
||||
.sock_init = ti_init,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_YENTA_RICOH
|
||||
[CARDBUS_TYPE_RICOH] = {
|
||||
|
|
@ -902,14 +908,6 @@ static struct cardbus_type cardbus_type[] = {
|
|||
.restore_state = o2micro_restore_state,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_YENTA_TI
|
||||
[CARDBUS_TYPE_ENE] = {
|
||||
.override = ene_override,
|
||||
.save_state = ti_save_state,
|
||||
.restore_state = ti_restore_state,
|
||||
.sock_init = ti_init,
|
||||
},
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue