Re: Problem with /proc/iomem on ARM

From: Kay Sievers
Date: Wed Jul 01 2009 - 14:13:10 EST


On Wed, Jul 1, 2009 at 20:01, H Hartley
Sweeten<hartleys@xxxxxxxxxxxxxxxxxxx> wrote:

> The serial ports on my system are amba bus devices.
>
>> After all, it seems like this should be fixed in arm somewhere, not to
>> copy and store internal driver core pointers, but use the device
>> itself to retrieve the values.
>
> Maybe the problem is in drivers/amba/bus.c? amba_device_register() does:
>
> Â Â Â Âdev->res.name = dev_name(&dev->dev);

Looks like. If you get the name directly from dev->init_name. Does that work?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/