aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/base/rq_enet_desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/base/rq_enet_desc.h')
-rw-r--r--drivers/net/enic/base/rq_enet_desc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enic/base/rq_enet_desc.h b/drivers/net/enic/base/rq_enet_desc.h
index 7292d9dc..13e24b43 100644
--- a/drivers/net/enic/base/rq_enet_desc.h
+++ b/drivers/net/enic/base/rq_enet_desc.h
@@ -55,7 +55,7 @@ enum rq_enet_type_types {
#define RQ_ENET_TYPE_BITS 2
#define RQ_ENET_TYPE_MASK ((1 << RQ_ENET_TYPE_BITS) - 1)
-static inline void rq_enet_desc_enc(struct rq_enet_desc *desc,
+static inline void rq_enet_desc_enc(volatile struct rq_enet_desc *desc,
u64 address, u8 type, u16 length)
{
desc->address = cpu_to_le64(address);