OSDN Git Service

fore200e: simplify fore200e_bus usage
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Oct 2018 14:57:14 +0000 (16:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:38:50 +0000 (22:38 -0700)
commit0efe5523894a2677269d56ef5ae2f0f6747240fb
tree34b683dd5ae40b5cc39ee0faf31533ced0177a25
parent4b035271fe87855f73a882632fe4de1bab88c1b5
fore200e: simplify fore200e_bus usage

There is no need to have a global array of the ops, instead PCI and sbus
can have their own instances assigned in *_probe.  Also switch to C99
initializers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c