]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/usb/gadget/storage_common.c
lib, linux: move linux specific defines to linux/compat.h
[karo-tx-uboot.git] / drivers / usb / gadget / storage_common.c
index 02803df23c52faf2f6a84c7fa69f95f5cc0c2ca1..b55e40bbda947bb1c1c4f6f9c25ee03d0237df0f 100644 (file)
@@ -267,11 +267,6 @@ struct interrupt_data {
 #define ASCQ(x)                ((u8) (x))
 
 struct device_attribute { int i; };
-struct rw_semaphore { int i; };
-#define down_write(...)                        do { } while (0)
-#define up_write(...)                  do { } while (0)
-#define down_read(...)                 do { } while (0)
-#define up_read(...)                   do { } while (0)
 #define ETOOSMALL      525
 
 #include <usb_mass_storage.h>