mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
e34b6fcf9b
remove the usage of removed irq_to_gpio() function. On pre-DB1200
boards, pass the actual carddetect GPIO number instead of the IRQ,
because we need the gpio to actually test card status (inserted or
not) and can get the irq number with gpio_to_irq() instead.
Tested on DB1300 and DB1500, this patch fixes PCMCIA on the DB1500,
which used irq_to_gpio().
Fixes:
|
||
---|---|---|
.. | ||
bcsr.c | ||
db1xxx.c | ||
db1000.c | ||
db1200.c | ||
db1300.c | ||
db1550.c | ||
Makefile | ||
platform.c | ||
platform.h | ||
pm.c |