powerpc/macio: Fix probing of macio devices by using the right of match table
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Jun 2010 07:09:18 +0000 (17:09 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Jun 2010 07:50:38 +0000 (17:50 +1000)
commitc2cdf6aba0dfcfb54be646ab630c1bccd180e890
tree97bfd319f0ebe514ef821a080b74860fb9dbaa24
parent79905ad50bcf025deb81382413719ed600734941
powerpc/macio: Fix probing of macio devices by using the right of match table

Grant patches added an of mach table to struct device_driver. However,
while he changed the macio device code to use that, he left the match
table pointer in struct macio_driver and didn't update drivers to use
the "new" one, thus breaking the probing.

This completes the change by moving all drivers to setup the "new"
one, removing all traces of the old one, and while at it (since it
changes the exact same locations), I also remove two other duplicates
from struct driver which are the name and owner fields.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
14 files changed:
arch/powerpc/include/asm/macio.h
drivers/ata/pata_macio.c
drivers/block/swim3.c
drivers/ide/pmac.c
drivers/macintosh/macio_asic.c
drivers/macintosh/mediabay.c
drivers/macintosh/rack-meter.c
drivers/net/bmac.c
drivers/net/mace.c
drivers/net/wireless/orinoco/airport.c
drivers/scsi/mac53c94.c
drivers/scsi/mesh.c
drivers/serial/pmac_zilog.c
sound/aoa/soundbus/i2sbus/core.c