]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb649e62feca998b1d0a742c5761658e6ffa6518
tree34b683dd5ae40b5cc39ee0faf31533ced0177a25
parent71aceecd37599a19c994772051ada79d3a410af5
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