Commit df2e1629 authored by Ben Dooks's avatar Ben Dooks Committed by Thomas Gleixner

[MTD] maps/plat-ram.c: Initialize owner in device_driver struct

Added .owner initialisation to allow the
tracking of the device_driver owners when
built as a module
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e0030b60
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Generic platfrom device based RAM map * Generic platfrom device based RAM map
* *
* $Id: plat-ram.c,v 1.3 2005/03/19 22:41:27 gleixner Exp $ * $Id: plat-ram.c,v 1.4 2005/10/10 00:51:26 bjd Exp $
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -254,6 +254,7 @@ static int platram_probe(struct device *dev) ...@@ -254,6 +254,7 @@ static int platram_probe(struct device *dev)
static struct device_driver platram_driver = { static struct device_driver platram_driver = {
.name = "mtd-ram", .name = "mtd-ram",
.owner = THIS_MODULE,
.bus = &platform_bus_type, .bus = &platform_bus_type,
.probe = platram_probe, .probe = platram_probe,
.remove = platram_remove, .remove = platram_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment