diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-29 08:06:42 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:21 -0400 |
commit | fb49fa533f9d211994c33efb752ffa5b30033729 (patch) | |
tree | 675d26cf01c23d9623f274971a065b0dedb10f3a /include/pcmcia/ds.h | |
parent | cdb138080b78146d1cdadba9f5dadbeb97445b91 (diff) |
pcmcia: split up modify_configuration() into two fixup functions
pcmcia_modify_configuration() was only used by two drivers to fix up
one issue each: setting the Vpp to a different value, and reducing
the IO width to 8 bit. Introduce two explicitly named functions
handling these things, and remove one further typedef.
CC: netdev@vger.kernel.org
CC: linux-mtd@lists.infradead.org
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r-- | include/pcmcia/ds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 6f7cb38d8850..8e307b93f47b 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -212,7 +212,9 @@ int pcmcia_release_window(struct pcmcia_device *p_dev, struct resource *res); | |||
212 | int pcmcia_map_mem_page(struct pcmcia_device *p_dev, struct resource *res, | 212 | int pcmcia_map_mem_page(struct pcmcia_device *p_dev, struct resource *res, |
213 | unsigned int offset); | 213 | unsigned int offset); |
214 | 214 | ||
215 | int pcmcia_modify_configuration(struct pcmcia_device *p_dev, modconf_t *mod); | 215 | int pcmcia_fixup_vpp(struct pcmcia_device *p_dev, unsigned char new_vpp); |
216 | int pcmcia_fixup_iowidth(struct pcmcia_device *p_dev); | ||
217 | |||
216 | void pcmcia_disable_device(struct pcmcia_device *p_dev); | 218 | void pcmcia_disable_device(struct pcmcia_device *p_dev); |
217 | 219 | ||
218 | /* IO ports */ | 220 | /* IO ports */ |