diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 17:13:32 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 10:54:39 +0200 |
commit | a794499b261b8487a984783ccc864975e1bcc7bf (patch) | |
tree | 57dfa404104d6fd86e756c1c10dd5d1ff3e9143b /mm/mempool.c | |
parent | 415d7b3a5407d91fdf47a07fd31d63e4b548651f (diff) | |
download | linux-a794499b261b8487a984783ccc864975e1bcc7bf.tar.gz linux-a794499b261b8487a984783ccc864975e1bcc7bf.tar.bz2 linux-a794499b261b8487a984783ccc864975e1bcc7bf.zip |
USB: serial: add calc_num_ports callback to generic driver
Add a calc_num_ports callback to the generic driver and verify that the
device has the required endpoints there instead of in core.
Note that the generic driver num_ports field was never used.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions