diff options
author | Ben Dooks <ben@simtec.co.uk> | 2005-10-09 20:09:19 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 17:07:28 -0500 |
commit | 61a7275491ce3c2b0a243b1fbeda024e5faeb2c6 (patch) | |
tree | 050fa4a94595c52261ce377f0fa795db618cc3a4 /drivers | |
parent | 5cea5dadfebdede8045fca118328860058129eb2 (diff) |
[MTD] NAND: s3c2410.c Initialize owner in device_driver struct
Added owner fields to the device_driver for tracking
ownership when built as a module
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 44989c8b5f76..a44458fd422f 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -18,7 +18,7 @@ | |||
18 | * 20-Jun-2005 BJD Updated s3c2440 support, fixed timing bug | 18 | * 20-Jun-2005 BJD Updated s3c2440 support, fixed timing bug |
19 | * 08-Jul-2005 BJD Fix OOPS when no platform data supplied | 19 | * 08-Jul-2005 BJD Fix OOPS when no platform data supplied |
20 | * | 20 | * |
21 | * $Id: s3c2410.c,v 1.15 2005/09/26 21:42:54 bjd Exp $ | 21 | * $Id: s3c2410.c,v 1.16 2005/10/10 00:09:16 bjd Exp $ |
22 | * | 22 | * |
23 | * This program is free software; you can redistribute it and/or modify | 23 | * This program is free software; you can redistribute it and/or modify |
24 | * it under the terms of the GNU General Public License as published by | 24 | * it under the terms of the GNU General Public License as published by |
@@ -695,6 +695,7 @@ static int s3c2440_nand_probe(struct device *dev) | |||
695 | 695 | ||
696 | static struct device_driver s3c2410_nand_driver = { | 696 | static struct device_driver s3c2410_nand_driver = { |
697 | .name = "s3c2410-nand", | 697 | .name = "s3c2410-nand", |
698 | .owner = THIS_MODULE, | ||
698 | .bus = &platform_bus_type, | 699 | .bus = &platform_bus_type, |
699 | .probe = s3c2410_nand_probe, | 700 | .probe = s3c2410_nand_probe, |
700 | .remove = s3c2410_nand_remove, | 701 | .remove = s3c2410_nand_remove, |
@@ -702,6 +703,7 @@ static struct device_driver s3c2410_nand_driver = { | |||
702 | 703 | ||
703 | static struct device_driver s3c2440_nand_driver = { | 704 | static struct device_driver s3c2440_nand_driver = { |
704 | .name = "s3c2440-nand", | 705 | .name = "s3c2440-nand", |
706 | .owner = THIS_MODULE, | ||
705 | .bus = &platform_bus_type, | 707 | .bus = &platform_bus_type, |
706 | .probe = s3c2440_nand_probe, | 708 | .probe = s3c2440_nand_probe, |
707 | .remove = s3c2410_nand_remove, | 709 | .remove = s3c2410_nand_remove, |