axp cast fix.
parent
f850c1bd06
commit
dc6b57bf22
|
@ -197,7 +197,7 @@ extern int r128_context_switch_complete(drm_device_t *dev, int new);
|
||||||
#define R128_MAX_USEC_TIMEOUT 100000 /* 100 ms */
|
#define R128_MAX_USEC_TIMEOUT 100000 /* 100 ms */
|
||||||
|
|
||||||
|
|
||||||
#define R128_BASE(reg) ((u32)(dev_priv->mmio->handle))
|
#define R128_BASE(reg) ((unsigned long)(dev_priv->mmio->handle))
|
||||||
#define R128_ADDR(reg) (R128_BASE(reg) + reg)
|
#define R128_ADDR(reg) (R128_BASE(reg) + reg)
|
||||||
|
|
||||||
#define R128_DEREF(reg) *(__volatile__ int *)R128_ADDR(reg)
|
#define R128_DEREF(reg) *(__volatile__ int *)R128_ADDR(reg)
|
||||||
|
|
Loading…
Reference in New Issue