commit | c64349722d141712d8500b5ad377d3117be46ba8 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Fri Jul 31 14:44:23 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 04 22:07:27 2015 -0700 |
tree | 22ef39c3292a546a4c5c9ebab2568eca8454e102 | |
parent | e92a886bf7841cd163860165db680cfbca5c7f0d [diff] |
sc16is7xx: support multiple devices We currently register the uart driver during device probe which makes it hard to support more than one chip. Move the driver registration to module init/exit time and preallocate space for up to 8 lines (4-8 chips). Reported-by: Michael Allwright <michael.allwright@upb.de> Signed-off-by: Jakub Kicinski <kubakici@wp.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>