pcmcia: fix up alignf issues
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 4 Apr 2010 16:10:35 +0000 (18:10 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 4 Apr 2010 16:10:35 +0000 (18:10 +0200)
commit147a27460366ecd35f1425f593cb42d52166c7ff
tree15f4467b37ec1f6eb47cfa0dfdfca93b014eee16
parent5e11611a5d22252f3f9c169a3c9377eac0c32033
pcmcia: fix up alignf issues

- pcmcia_align() used a "start" variable twice. That's obviously a bad
  idea.

- pcmcia_common_resource() needs the current "start" parameter being
  passed, instead of res->start.

- pcmcia_common_resource() doesn't use the size and align parameters,
  so get rid of those.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/rsrc_nonstatic.c