aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/maple
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-03 21:58:24 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-08-03 21:58:24 -0400
commit617870632de6739fca0893f3e6648e9ae1bd0ddb (patch)
treecad36762206a99ee6317290f3d58d818f18f5c58 /drivers/sh/maple
parent63870295de9adb365cd121dab94379b8cfdf986a (diff)
maple: Kill useless private_data pointer.
We can simply wrap in to the dev_set/get_drvdata(), there's no reason to track an extra level of private data on top of the struct device. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/maple')
-rw-r--r--drivers/sh/maple/maple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index a6b4dc3cfcba..be77a39f224c 100644
--- a/drivers/sh/maple/maple.c
+++ b/drivers/sh/maple/maple.c
@@ -94,6 +94,7 @@ void maple_driver_unregister(struct maple_driver *drv)
94{ 94{
95 driver_unregister(&drv->drv); 95 driver_unregister(&drv->drv);
96} 96}
97EXPORT_SYMBOL_GPL(maple_driver_unregister);
97 98
98/* set hardware registers to enable next round of dma */ 99/* set hardware registers to enable next round of dma */
99static void maplebus_dma_reset(void) 100static void maplebus_dma_reset(void)