summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/pcounter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pcounter.h b/include/linux/pcounter.h
index 620aaded4e9..9c4760a328f 100644
--- a/include/linux/pcounter.h
+++ b/include/linux/pcounter.h
@@ -84,7 +84,7 @@ static inline int pcounter_getval(const struct pcounter *self)
static inline void pcounter_add(struct pcounter *self, int inc)
{
- self->value += inc;
+ self->val += inc;
}
static inline int pcounter_getval(const struct pcounter *self)