parport_pc: Limit the number of PCI BAR pairs to 2
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sun, 8 Jan 2023 21:56:56 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jan 2023 12:12:00 +0000 (13:12 +0100)
commit96b45776995653a4971329c7f62ff6aa324027a2
tree0615e9fd55b2100cff3a8db9d4da9146227cfe5d
parentc087df8d1e7dc2e764d11234d84b5af46d500f16
parport_pc: Limit the number of PCI BAR pairs to 2

Decrease the number of PCI BAR pair slots allocated for port subdrivers
from 4 to 2 as none wants more than 2 at this time, reducing the memory
footprint a little.  No functional change.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20230108215656.6433-7-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_pc.c