• Arnd Bergmann's avatar
    misc: rtsx: rename SG_END macro · f16ee7c7
    Arnd Bergmann authored
    A change to the generic scatterlist code caused a conflict with
    the rtsx card reader driver:
    In file included from drivers/misc/cardreader/rtsx_pcr.c:32:
    include/linux/rtsx_pci.h:40: error: "SG_END" redefined [-Werror]
    This changes one instance of the driver to prefix SG_END and
    related constants.
    Fixes: 723fbf56 ("lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings")
    Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
rtsx_pci.h 40.2 KB