diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2022-08-28 09:53:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 18:17:48 +0300 |
commit | 54765727cfe6283061d6a1e0fad8a1f46bdbef05 (patch) | |
tree | a8832845f860c498931a272c62e3e9d194c49451 /drivers/staging/vt6655/mac.h | |
parent | b1d3ecbf146e46326e96c5503fa9ce7dab45159e (diff) | |
download | linux-54765727cfe6283061d6a1e0fad8a1f46bdbef05.tar.xz |
staging: vt6655: Rename macro MACvSelectPage0
Rename MACvSelectPage0 macro to VT6655_MAC_SELECT_PAGE0 to avoid
CamelCase which is not accepted by checkpatch.pl and to clean up
namespace. Remove unnecessary line break.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/a656aa0e04c43654ba22b764cb00e27898efbe5f.1661666677.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/mac.h')
-rw-r--r-- | drivers/staging/vt6655/mac.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index b6c4f2bb096a..a14b38a96ec6 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -537,8 +537,7 @@ /*--------------------- Export Macros ------------------------------*/ -#define MACvSelectPage0(iobase) \ - iowrite8(0, iobase + MAC_REG_PAGE1SEL) +#define VT6655_MAC_SELECT_PAGE0(iobase) iowrite8(0, iobase + MAC_REG_PAGE1SEL) #define MACvSelectPage1(iobase) \ iowrite8(1, iobase + MAC_REG_PAGE1SEL) |