diff options
author | Ben Dooks <ben@simtec.co.uk> | 2005-10-09 20:13:41 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 17:08:38 -0500 |
commit | e0030b60ceeaea356e49187baf9702b5ce151be1 (patch) | |
tree | 5d49e7d4b590e18be45c0b9368d4745e204d6cf6 /drivers/mtd/maps | |
parent | 61a7275491ce3c2b0a243b1fbeda024e5faeb2c6 (diff) |
[MTD] maps/bast-flash.c: Initialize owner in device_driver struct
Added owner to device driver field for tracking
when loaded as a module.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/bast-flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/maps/bast-flash.c b/drivers/mtd/maps/bast-flash.c index bfe994e59265..5ec53c17e431 100644 --- a/drivers/mtd/maps/bast-flash.c +++ b/drivers/mtd/maps/bast-flash.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * 20-Sep-2004 BJD Initial version | 9 | * 20-Sep-2004 BJD Initial version |
10 | * 17-Jan-2005 BJD Add whole device if no partitions found | 10 | * 17-Jan-2005 BJD Add whole device if no partitions found |
11 | * | 11 | * |
12 | * $Id: bast-flash.c,v 1.2 2005/01/18 11:13:47 bjd Exp $ | 12 | * $Id: bast-flash.c,v 1.3 2005/10/10 00:13:38 bjd Exp $ |
13 | * | 13 | * |
14 | * This program is free software; you can redistribute it and/or modify | 14 | * This program is free software; you can redistribute it and/or modify |
15 | * it under the terms of the GNU General Public License as published by | 15 | * it under the terms of the GNU General Public License as published by |
@@ -206,6 +206,7 @@ static int bast_flash_probe(struct device *dev) | |||
206 | 206 | ||
207 | static struct device_driver bast_flash_driver = { | 207 | static struct device_driver bast_flash_driver = { |
208 | .name = "bast-nor", | 208 | .name = "bast-nor", |
209 | .owner = THIS_MODULE, | ||
209 | .bus = &platform_bus_type, | 210 | .bus = &platform_bus_type, |
210 | .probe = bast_flash_probe, | 211 | .probe = bast_flash_probe, |
211 | .remove = bast_flash_remove, | 212 | .remove = bast_flash_remove, |