diff options
Diffstat (limited to 'include/linux/pcounter.h')
-rw-r--r-- | include/linux/pcounter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pcounter.h b/include/linux/pcounter.h index 620aaded4e94..9c4760a328f3 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) |