scsi: fdomain: fix building pcmcia front-end
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Jul 2019 12:19:08 +0000 (14:19 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 23 Jul 2019 02:05:48 +0000 (22:05 -0400)
commite70bdd81bfe230a1044eaa49f7d9c9450178d635
treefbfef7db99b4c79f4ac6a766c369eb5aed1c4d46
parent985eaf99eb180a9a194ef2787cc03682c7ad615b
scsi: fdomain: fix building pcmcia front-end

We get a warning when CONFIG_SCSI_LOWLEVEL is disabled here:

WARNING: unmet direct dependencies detected for SCSI_FDOMAIN
  Depends on [n]: SCSI_LOWLEVEL [=n] && SCSI [=y]
  Selected by [m]:
  - PCMCIA_FDOMAIN [=m] && SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=y] && m && MODULES [=y]

Move all of SCSI_LOWLEVEL_PCMCIA inside of the existing SCSI_LOWLEVEL
section. Very few people use the PCMCIA support these days, and they likely
don't mind having to turn on SCSI_LOWLEVEL as well. This way we avoid the
link error and get a more sensible structure.

Fixes: 7d47fa065e62 ("scsi: fdomain: Add PCMCIA support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/Kconfig