diff options
-rw-r--r-- | arch/arm/common/locomo.c | 3 |
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) | |||
506 | goto out; | 506 | goto out; |
507 | } | 507 | } |
508 | 508 | ||
509 | strncpy(dev->dev.bus_id,info->name,sizeof(dev->dev.bus_id)); | 509 | strncpy(dev->dev.bus_id, info->name, sizeof(dev->dev.bus_id)); |
510 | /* | 510 | /* |
511 | * If the parent device has a DMA mask associated with it, | 511 | * If the parent device has a DMA mask associated with it, |
512 | * propagate it down to the children. | 512 | * propagate it down to the children. |
@@ -729,7 +729,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq) | |||
729 | 729 | ||
730 | for (i = 0; i < ARRAY_SIZE(locomo_devices); i++) | 730 | for (i = 0; i < ARRAY_SIZE(locomo_devices); i++) |
731 | locomo_init_one_child(lchip, &locomo_devices[i]); | 731 | locomo_init_one_child(lchip, &locomo_devices[i]); |
732 | |||
733 | return 0; | 732 | return 0; |
734 | 733 | ||
735 | out: | 734 | out: |