Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ebcd765 authored by Russell King's avatar Russell King
Browse files

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: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 4d5d1128
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -330,6 +330,7 @@ static int __devexit ps2_remove(struct sa1111_dev *dev)
static struct sa1111_driver ps2_driver = {
static struct sa1111_driver ps2_driver = {
	.drv = {
	.drv = {
		.name	= "sa1111-ps2",
		.name	= "sa1111-ps2",
		.owner	= THIS_MODULE,
	},
	},
	.devid		= SA1111_DEVID_PS2,
	.devid		= SA1111_DEVID_PS2,
	.probe		= ps2_probe,
	.probe		= ps2_probe,
+1 −0
Original line number Original line Diff line number Diff line
@@ -262,6 +262,7 @@ static int ohci_hcd_sa1111_drv_remove(struct sa1111_dev *dev)
static struct sa1111_driver ohci_hcd_sa1111_driver = {
static struct sa1111_driver ohci_hcd_sa1111_driver = {
	.drv = {
	.drv = {
		.name	= "sa1111-ohci",
		.name	= "sa1111-ohci",
		.owner	= THIS_MODULE,
	},
	},
	.devid		= SA1111_DEVID_USB,
	.devid		= SA1111_DEVID_USB,
	.probe		= ohci_hcd_sa1111_drv_probe,
	.probe		= ohci_hcd_sa1111_drv_probe,