aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-10 05:20:07 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-10 05:20:07 -0400
commit7dead80cbee3259e3a9f25bfc65c8dc769a19e0e (patch)
tree7994d817862561babeb901eea46604b282f12c21 /drivers/serial
parentcdfc8f5079fdd18f6cb8097aa4235704d1155ec5 (diff)
[ARM] 2964/1: S3C2410 - serial: add .owner to driver
Patch from Ben Dooks Initialise the driver's .owner field so that the device driver can be referenced to the module that owns it Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/s3c2410.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c
index 50d7870d92bb..eff2158024c8 100644
--- a/drivers/serial/s3c2410.c
+++ b/drivers/serial/s3c2410.c
@@ -1235,6 +1235,7 @@ static int s3c2400_serial_probe(struct device *dev)
1235 1235
1236static struct device_driver s3c2400_serial_drv = { 1236static struct device_driver s3c2400_serial_drv = {
1237 .name = "s3c2400-uart", 1237 .name = "s3c2400-uart",
1238 .owner = THIS_MODULE,
1238 .bus = &platform_bus_type, 1239 .bus = &platform_bus_type,
1239 .probe = s3c2400_serial_probe, 1240 .probe = s3c2400_serial_probe,
1240 .remove = s3c24xx_serial_remove, 1241 .remove = s3c24xx_serial_remove,
@@ -1338,6 +1339,7 @@ static int s3c2410_serial_probe(struct device *dev)
1338 1339
1339static struct device_driver s3c2410_serial_drv = { 1340static struct device_driver s3c2410_serial_drv = {
1340 .name = "s3c2410-uart", 1341 .name = "s3c2410-uart",
1342 .owner = THIS_MODULE,
1341 .bus = &platform_bus_type, 1343 .bus = &platform_bus_type,
1342 .probe = s3c2410_serial_probe, 1344 .probe = s3c2410_serial_probe,
1343 .remove = s3c24xx_serial_remove, 1345 .remove = s3c24xx_serial_remove,
@@ -1499,6 +1501,7 @@ static int s3c2440_serial_probe(struct device *dev)
1499 1501
1500static struct device_driver s3c2440_serial_drv = { 1502static struct device_driver s3c2440_serial_drv = {
1501 .name = "s3c2440-uart", 1503 .name = "s3c2440-uart",
1504 .owner = THIS_MODULE,
1502 .bus = &platform_bus_type, 1505 .bus = &platform_bus_type,
1503 .probe = s3c2440_serial_probe, 1506 .probe = s3c2440_serial_probe,
1504 .remove = s3c24xx_serial_remove, 1507 .remove = s3c24xx_serial_remove,