aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 38570d7..a3adc66 100644
--- a/include/common.h
+++ b/include/common.h
@@ -12,7 +12,7 @@ static inline int uio_quirks(const struct driver_ops *e)
}
static inline int uio_rx_fill(const struct driver_ops *e, int device,
- void *rxring, struct iomem data, char *rx_buf[],
+ void *rxring, struct iomem data, volatile char *rx_buf[],
volatile void *ioaddr)
{
if (e && e->rx_fill)
@@ -22,7 +22,7 @@ static inline int uio_rx_fill(const struct driver_ops *e, int device,
}
static inline void uio_recv(const struct driver_ops *e, void *rxring,
- char *rxbuffers[], volatile void *iomem)
+ volatile char *rxbuffers[], volatile void *iomem)
{
if (e && e->recv)
e->recv(rxring, rxbuffers, iomem);