net: dsa: mv88e6xxx: do not prefix ops with g1
The mv88e6xxx_ops describe functionalities, regardless their locations (which can be Global1, Global2, or whatever register set.) Rename the g1_set_cpu_port and g1_set_egress_port ops to set_cpu_port and set_egress_port. No functional changes. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
このコミットが含まれているのは:
@@ -456,8 +456,8 @@ struct mv88e6xxx_ops {
|
||||
void (*stats_get_strings)(struct mv88e6xxx_chip *chip, uint8_t *data);
|
||||
void (*stats_get_stats)(struct mv88e6xxx_chip *chip, int port,
|
||||
uint64_t *data);
|
||||
int (*g1_set_cpu_port)(struct mv88e6xxx_chip *chip, int port);
|
||||
int (*g1_set_egress_port)(struct mv88e6xxx_chip *chip, int port);
|
||||
int (*set_cpu_port)(struct mv88e6xxx_chip *chip, int port);
|
||||
int (*set_egress_port)(struct mv88e6xxx_chip *chip, int port);
|
||||
const struct mv88e6xxx_irq_ops *watchdog_ops;
|
||||
|
||||
/* Can be either in g1 or g2, so don't use a prefix */
|
||||
|
新しいイシューから参照
ユーザーをブロックする