Skip to content

Commit

Permalink
net: dsa: realtek: rename macro to match filename
Browse files Browse the repository at this point in the history
The macro was missed while renaming realtek-smi.h to realtek.h.

Fixes: f5f1190 (net: dsa: realtek: rename realtek_smi to)
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Luiz Angelo Daros de Luca authored and David S. Miller committed Feb 14, 2022
1 parent da54d75 commit 7db45f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/dsa/realtek/realtek.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*/

#ifndef _REALTEK_SMI_H
#define _REALTEK_SMI_H
#ifndef _REALTEK_H
#define _REALTEK_H

#include <linux/phy.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -142,4 +142,4 @@ void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
extern const struct realtek_variant rtl8366rb_variant;
extern const struct realtek_variant rtl8365mb_variant;

#endif /* _REALTEK_SMI_H */
#endif /* _REALTEK_H */

0 comments on commit 7db45f8

Please sign in to comment.