diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-20 13:24:31 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-24 15:33:44 +0200 |
commit | 4aeba0134f1e54cfd881e118b039ab6ed8b99126 (patch) | |
tree | 6e289b39fe5d0592334ceb5a3e45d05864bb5e9e /drivers/mtd/maps/pcmciamtd.c | |
parent | 6351a71cfae2839cf6e63329d3d85eb46a4bc2c7 (diff) | |
download | linux-4aeba0134f1e54cfd881e118b039ab6ed8b99126.tar.gz linux-4aeba0134f1e54cfd881e118b039ab6ed8b99126.tar.bz2 linux-4aeba0134f1e54cfd881e118b039ab6ed8b99126.zip |
pcmcia: (re)move {pcmcia,pccard}_get_status
Except for one debug message in a driver marked BROKEN, pcmcia_get_status is
only used by the ioctl. Therefore, move it to pcmcia_ioctl.c and unexport it.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/mtd/maps/pcmciamtd.c')
-rw-r--r-- | drivers/mtd/maps/pcmciamtd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c index 00530f9bf4a7..0cc31675aeb9 100644 --- a/drivers/mtd/maps/pcmciamtd.c +++ b/drivers/mtd/maps/pcmciamtd.c @@ -560,9 +560,7 @@ static int pcmciamtd_config(struct pcmcia_device *link) DEBUG(1, "Allocated a window of %dKiB", dev->win_size >> 10); /* Get write protect status */ - CS_CHECK(GetStatus, pcmcia_get_status(link, &status)); - DEBUG(2, "status value: 0x%x window handle = 0x%8.8lx", - status.CardState, (unsigned long)link->win); + DEBUG(2, "window handle = 0x%8.8lx", (unsigned long)link->win); dev->win_base = ioremap(req.Base, req.Size); if(!dev->win_base) { err("ioremap(%lu, %u) failed", req.Base, req.Size); |