Commit d578b82a authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: set driver's .owner field

Properly set the "owner" field in pcmcia-related struct device_driver.
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ef3571cc
......@@ -286,6 +286,7 @@ int pcmcia_register_driver(struct pcmcia_driver *driver)
return -EINVAL;
driver->drv.bus = &pcmcia_bus_type;
driver->drv.owner = driver->owner;
return driver_register(&driver->drv);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment