mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
usb: composite: Move bitmap related operations to ./include/linux/bitmap.h
The BITMAP related operations can now be moved to ./include/linux/bitmap.h file to mimic the Linux kernel directory tree. This change also allows to remove the lin_gadget_compat.h header file (which is a legacy code only for composite U-boot layer). It was also possible to remove #includes from several USB gadget drivers. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
parent
bb00a015d6
commit
916fa09799
14 changed files with 28 additions and 46 deletions
|
@ -158,4 +158,7 @@ struct ustat {
|
|||
char f_fpack[6];
|
||||
};
|
||||
|
||||
#define DECLARE_BITMAP(name, bits) \
|
||||
unsigned long name[BITS_TO_LONGS(bits)]
|
||||
|
||||
#endif /* _LINUX_TYPES_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue