Driver core: more fallout from class_device changes for pcmcia

More fallout from the PCMCIA class_device changes.

The first hunk is run-tested on SH-4, the others are converted
in the spirit of the original conversion.


Signed-off-by: Manuel Lauss  <mano@roarinelk.homelinux.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Manuel Lauss
2007-02-21 14:47:20 +01:00
committed by Greg Kroah-Hartman
parent d56c3eae67
commit dfe461aef0
6 changed files with 6 additions and 6 deletions

View File

@ -232,7 +232,7 @@ static struct resource *iodyn_find_io_region(unsigned long base, int num,
unsigned long align, struct pcmcia_socket *s)
{
struct resource *res = make_resource(0, num, IORESOURCE_IO,
s->dev.class_id);
s->dev.bus_id);
struct pcmcia_align_data data;
unsigned long min = base;
int ret;