• Russell King's avatar
    [ARM] Convert platform devices to use platform_device · 4f00f1c2
    Russell King authored
    Since struct platform_device now has the ability to pass resources,
    defined by the platform to the device driver, we can now use this
    to handle platform specific devices.  One such instance is the
    StrongARM SA1111 companion chip, which can appear in various address
    spaces, and connected to different IRQ lines depending on how many
    cups of coffee the hardware designer had, the direction of the wind
    outside the designers office that day.
    
    We also convert some of the other StrongARM peripheral on-chip
    devices to use struct platform_device.
    
    ARM also provides a platform_add_devices() function which can be
    used by platform code to bulk-register a tabular set of platform
    devices.
    4f00f1c2
platform.c 696 Bytes