Volatile keyword fix for MUSB reset loop.

This commit is contained in:
Wojciech Zajac 2014-05-28 12:48:27 +02:00 committed by Lionel Sambuc
parent 880ae44a72
commit 5308df03ed

View file

@ -29,9 +29,9 @@ typedef unsigned short hcd_reg2;
typedef unsigned char hcd_reg1; typedef unsigned char hcd_reg1;
/* For register dereferencing */ /* For register dereferencing */
#define _HCD_REG4 hcd_reg4 * volatile #define _HCD_REG4 volatile hcd_reg4 *
#define _HCD_REG2 hcd_reg2 * volatile #define _HCD_REG2 volatile hcd_reg2 *
#define _HCD_REG1 hcd_reg1 * volatile #define _HCD_REG1 volatile hcd_reg1 *
/* Scalar address to dereference */ /* Scalar address to dereference */
#define _HCD_ADDR(base, off) (((hcd_addr)(base))+(off)) #define _HCD_ADDR(base, off) (((hcd_addr)(base))+(off))