[MTD] NAND: s3c2410.c Initialize owner in device_driver struct
authorBen Dooks <ben@simtec.co.uk>
Mon, 10 Oct 2005 00:09:19 +0000 (01:09 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 22:07:28 +0000 (23:07 +0100)
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>
drivers/mtd/nand/s3c2410.c

index 44989c8b5f76e12459aa1e79bb069fe99ca47f32..a44458fd422f85db1458d1fd4db39c669da778f1 100644 (file)
@@ -18,7 +18,7 @@
  *     20-Jun-2005  BJD  Updated s3c2440 support, fixed timing bug
  *     08-Jul-2005  BJD  Fix OOPS when no platform data supplied
  *
- * $Id: s3c2410.c,v 1.15 2005/09/26 21:42:54 bjd Exp $
+ * $Id: s3c2410.c,v 1.16 2005/10/10 00:09:16 bjd Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * 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)
 
 static struct device_driver s3c2410_nand_driver = {
        .name           = "s3c2410-nand",
+       .owner          = THIS_MODULE,
        .bus            = &platform_bus_type,
        .probe          = s3c2410_nand_probe,
        .remove         = s3c2410_nand_remove,
@@ -702,6 +703,7 @@ static struct device_driver s3c2410_nand_driver = {
 
 static struct device_driver s3c2440_nand_driver = {
        .name           = "s3c2440-nand",
+       .owner          = THIS_MODULE,
        .bus            = &platform_bus_type,
        .probe          = s3c2440_nand_probe,
        .remove         = s3c2410_nand_remove,