]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[ARM] KS8695: Fix up device registration.
authorDaniel Silverstone <dsilvers@simtec.co.uk>
Sat, 13 Dec 2008 20:44:11 +0000 (20:44 +0000)
committerBen Dooks <ben-linux@fluff.org>
Sun, 14 Dec 2008 11:34:46 +0000 (11:34 +0000)
commitfbd627100bc4a9ebce8c7617df499ee5db763780
treea5d42eb2878639bf9c27770d3c58fc7aeab829d5
parent72aaf09fda49f5919d98d65d35e5179f3acb0497
[ARM] KS8695: Fix up device registration.

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: Daniel Silverstone <dsilvers@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-ks8695/devices.c