projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6542729
)
[PATCH] pcmcia: unload second device first
author
Komuro
<komurojun-mbn@nifty.com>
Sun, 2 Apr 2006 08:39:27 +0000
(17:39 +0900)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Fri, 21 Apr 2006 22:49:13 +0000
(
00:49
+0200)
Use list_add instead of list_add_tail for pcmcia_device_add
so that second device of multi-function-card will be unloaded first.
Signed-off-by: komurojun-mbn@nifty.com
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ds.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/ds.c
b/drivers/pcmcia/ds.c
index ae10d1eed65e2417bf3077dffe7eb7963a0cb2f7..7582362a38c388497e703ee29409dc54999655e1 100644
(file)
--- a/
drivers/pcmcia/ds.c
+++ b/
drivers/pcmcia/ds.c
@@
-628,7
+628,7
@@
struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
}
/* Add to the list in pcmcia_bus_socket */
- list_add
_tail
(&p_dev->socket_device_list, &s->devices_list);
+ list_add(&p_dev->socket_device_list, &s->devices_list);
spin_unlock_irqrestore(&pcmcia_dev_list_lock, flags);