scsi: myrs: only build on little-endian platforms
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Nov 2018 15:47:23 +0000 (16:47 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Nov 2018 03:35:01 +0000 (22:35 -0500)
commita3ecf48248a393438e77e569a0047e968e0ec6c6
treee9a96c8d4cfbd0cb86fa1e4d7bc791b37997d85d
parent77409c4cdc44560e1b3b839e62d7f73478199680
scsi: myrs: only build on little-endian platforms

Reading throught the new driver, I noticed that this cannot work on
big-endian CPUs, and the old DAC960 had exactly the same behavior.

To document this for the future, add a Kconfig dependency that prevents it
from being included in big-endian kernels.  Since the hardware is really
old and we never had a working driver on it for big-endian platforms,
it's unlikely to make a difference to users.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/Kconfig