]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/musb/musb_core.h
I2C: Move struct s3c24x0_i2c to a common place.
[u-boot] / drivers / usb / musb / musb_core.h
index 8f73876f8067ec1f7d8cdced275c6eaa141841a5..e914369297047fcfcfa10ba0037fe30ab9820d83 100644 (file)
@@ -145,7 +145,7 @@ struct musb_regs {
                struct musb_epN_regs epN;
        } ep[16];
 
-} __attribute__((packed, aligned(32)));
+} __attribute__((packed, aligned(USB_DMA_MINALIGN)));
 #endif
 
 /*
@@ -357,7 +357,7 @@ extern struct musb_regs             *musbr;
 
 /* exported functions */
 extern void musb_start(void);
-extern void musb_configure_ep(struct musb_epinfo *epinfo, u8 cnt);
+extern void musb_configure_ep(const struct musb_epinfo *epinfo, u8 cnt);
 extern void write_fifo(u8 ep, u32 length, void *fifo_data);
 extern void read_fifo(u8 ep, u32 length, void *fifo_data);