diff --git a/include/linux/pcounter.h b/include/linux/pcounter.h index 620aaded4e945fa3f8100d06efa0d660eff555ae..9c4760a328f32e43866a0dd7e524746a34eadadc 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)