diff options
Diffstat (limited to 'drivers/pcmcia')
| -rw-r--r-- | drivers/pcmcia/cs.c | 3 | ||||
| -rw-r--r-- | drivers/pcmcia/ti113x.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index fabd3529cebc..d5e76423a0ee 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c | |||
| @@ -689,6 +689,9 @@ static int pccardd(void *__skt) | |||
| 689 | schedule(); | 689 | schedule(); |
| 690 | try_to_freeze(); | 690 | try_to_freeze(); |
| 691 | } | 691 | } |
| 692 | /* make sure we are running before we exit */ | ||
| 693 | set_current_state(TASK_RUNNING); | ||
| 694 | |||
| 692 | remove_wait_queue(&skt->thread_wait, &wait); | 695 | remove_wait_queue(&skt->thread_wait, &wait); |
| 693 | 696 | ||
| 694 | /* remove from the device core */ | 697 | /* remove from the device core */ |
diff --git a/drivers/pcmcia/ti113x.h b/drivers/pcmcia/ti113x.h index da0b404561c9..539b5cd1a598 100644 --- a/drivers/pcmcia/ti113x.h +++ b/drivers/pcmcia/ti113x.h | |||
| @@ -873,6 +873,7 @@ static int ti1250_override(struct yenta_socket *socket) | |||
| 873 | * Some fixup code to make everybody happy (TM). | 873 | * Some fixup code to make everybody happy (TM). |
| 874 | */ | 874 | */ |
| 875 | 875 | ||
| 876 | #ifdef CONFIG_CARDBUS | ||
| 876 | /** | 877 | /** |
| 877 | * set/clear various test bits: | 878 | * set/clear various test bits: |
| 878 | * Defaults to clear the bit. | 879 | * Defaults to clear the bit. |
| @@ -927,7 +928,6 @@ static void ene_tune_bridge(struct pcmcia_socket *sock, struct pci_bus *bus) | |||
| 927 | config_writeb(socket, ENE_TEST_C9, test_c9); | 928 | config_writeb(socket, ENE_TEST_C9, test_c9); |
| 928 | } | 929 | } |
| 929 | 930 | ||
| 930 | |||
| 931 | static int ene_override(struct yenta_socket *socket) | 931 | static int ene_override(struct yenta_socket *socket) |
| 932 | { | 932 | { |
| 933 | /* install tune_bridge() function */ | 933 | /* install tune_bridge() function */ |
| @@ -935,6 +935,9 @@ static int ene_override(struct yenta_socket *socket) | |||
| 935 | 935 | ||
| 936 | return ti1250_override(socket); | 936 | return ti1250_override(socket); |
| 937 | } | 937 | } |
| 938 | #else | ||
| 939 | # define ene_override ti1250_override | ||
| 940 | #endif | ||
| 938 | 941 | ||
| 939 | #endif /* _LINUX_TI113X_H */ | 942 | #endif /* _LINUX_TI113X_H */ |
| 940 | 943 | ||
