Commit d992ee6c authored by Alexei Starovoitov's avatar Alexei Starovoitov Committed by Daniel Borkmann

net/mediatek: disambiguate mt76 vs mt7601u trace events

two trace events defined with the same name and both unused.
They conflict in allyesconfig build. Rename one of them.
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent c1055475
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#define REG_PR_FMT "%04x=%08x" #define REG_PR_FMT "%04x=%08x"
#define REG_PR_ARG __entry->reg, __entry->val #define REG_PR_ARG __entry->reg, __entry->val
DECLARE_EVENT_CLASS(dev_reg_evt, DECLARE_EVENT_CLASS(dev_reg_evtu,
TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val), TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
TP_ARGS(dev, reg, val), TP_ARGS(dev, reg, val),
TP_STRUCT__entry( TP_STRUCT__entry(
...@@ -51,12 +51,12 @@ DECLARE_EVENT_CLASS(dev_reg_evt, ...@@ -51,12 +51,12 @@ DECLARE_EVENT_CLASS(dev_reg_evt,
) )
); );
DEFINE_EVENT(dev_reg_evt, reg_read, DEFINE_EVENT(dev_reg_evtu, reg_read,
TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val), TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
TP_ARGS(dev, reg, val) TP_ARGS(dev, reg, val)
); );
DEFINE_EVENT(dev_reg_evt, reg_write, DEFINE_EVENT(dev_reg_evtu, reg_write,
TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val), TP_PROTO(struct mt7601u_dev *dev, u32 reg, u32 val),
TP_ARGS(dev, reg, val) TP_ARGS(dev, reg, val)
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment