• Daniel Silverstone's avatar
    [ARM] KS8695: Fix up device registration. · fbd62710
    Daniel Silverstone authored
    The KS8695 device.c provides registration functionality for the
    KS8695's various devices such as watchdog timers and ethernet
    devices. Rather than predicating those on the config options for the
    drivers, always register the platform devices so that a later built
    module can hook on. Also, the ethernet used to register virtual
    addresses in the platform data. This is wrong and so this patch
    changes them to physical addresses and also passes in the
    appropriate physical region for the PHY or Switch as appropriate.
    Signed-off-by: default avatarDaniel Silverstone <dsilvers@simtec.co.uk>
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    fbd62710
devices.c 4.97 KB