diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-26 11:19:48 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-09 15:34:49 +0000 |
commit | 1ebcd7654e4e391a36945c937c125995c737c446 (patch) | |
tree | 48d6b1388073e42023a61173cfeb4d675c5eec12 | |
parent | 4d5d11285c78691efb17148dfc3d56642bee6204 (diff) | |
download | linux-stable-1ebcd7654e4e391a36945c937c125995c737c446.tar.gz linux-stable-1ebcd7654e4e391a36945c937c125995c737c446.tar.bz2 linux-stable-1ebcd7654e4e391a36945c937c125995c737c446.zip |
ARM: sa1111: add .owner initializer to sa1111 driver structures
Add a .owner initializer to the sa1111 driver structures to allow
allow the modules to be associated with their driver structures.
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/input/serio/sa1111ps2.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-sa1111.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/serio/sa1111ps2.c b/drivers/input/serio/sa1111ps2.c index 44fc8b4bcd81..40ec545fbd40 100644 --- a/drivers/input/serio/sa1111ps2.c +++ b/drivers/input/serio/sa1111ps2.c @@ -330,6 +330,7 @@ static int __devexit ps2_remove(struct sa1111_dev *dev) static struct sa1111_driver ps2_driver = { .drv = { .name = "sa1111-ps2", + .owner = THIS_MODULE, }, .devid = SA1111_DEVID_PS2, .probe = ps2_probe, diff --git a/drivers/usb/host/ohci-sa1111.c b/drivers/usb/host/ohci-sa1111.c index 4bde4f9821ba..7d2aa62ea613 100644 --- a/drivers/usb/host/ohci-sa1111.c +++ b/drivers/usb/host/ohci-sa1111.c @@ -262,6 +262,7 @@ static int ohci_hcd_sa1111_drv_remove(struct sa1111_dev *dev) static struct sa1111_driver ohci_hcd_sa1111_driver = { .drv = { .name = "sa1111-ohci", + .owner = THIS_MODULE, }, .devid = SA1111_DEVID_USB, .probe = ohci_hcd_sa1111_drv_probe, |