]> git.sur5r.net Git - u-boot/commit
usb: composite convert __set_bit to generic_set_bit
authorBryan O'Donoghue <pure.logic@nexus-software.ie>
Mon, 30 Apr 2018 14:56:10 +0000 (15:56 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 16 May 2018 01:44:05 +0000 (21:44 -0400)
commit31dd8efeb661c8dbffff9175a09cf2bab090906a
treefa7c2c616f5a14d50998159de1b8d775f4317a75
parent5ac73f6879327beef45bc58484f1f09c2f0cb37c
usb: composite convert __set_bit to generic_set_bit

Compiling the f_mass_storage driver for an x86 target results in a
compilation error as set_bit and clear_bit are provided by bitops.h

To address that situation we discussed on the list moving to
genetic_set_bit() instead.

Doing a quick grep for similar situations in drivers/usb shows that the
composite device is using __set_bit().

This patch switches over to generic_set_bit to maintain consistency between
the two gadget drivers.

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/composite.c