summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2006-07-10 17:29:10 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-11 22:10:42 +0200
commit7a2c3029850843210a55cf15f36227c8e578e6bd (patch)
treecaab82361f787aa30cb48b465e1f2628f58493cb /arch/arm
parentx86 MacMini: make built-in speaker sound actually work (diff)
downloadlinux-7a2c3029850843210a55cf15f36227c8e578e6bd.tar.xz
linux-7a2c3029850843210a55cf15f36227c8e578e6bd.zip
[ARM] 3721/1: Small cleanup for locomo.c
Patch from Pavel Machek Cleanup locomo.c. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/common/locomo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c
index fbc3ab0e1011..04de83f4f008 100644
--- a/arch/arm/common/locomo.c
+++ b/arch/arm/common/locomo.c
@@ -506,7 +506,7 @@ locomo_init_one_child(struct locomo *lchip, struct locomo_dev_info *info)
goto out;
}
- strncpy(dev->dev.bus_id,info->name,sizeof(dev->dev.bus_id));
+ strncpy(dev->dev.bus_id, info->name, sizeof(dev->dev.bus_id));
/*
* If the parent device has a DMA mask associated with it,
* propagate it down to the children.
@@ -729,7 +729,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq)
for (i = 0; i < ARRAY_SIZE(locomo_devices); i++)
locomo_init_one_child(lchip, &locomo_devices[i]);
-
return 0;
out: