summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/rtl871x_rf.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-08-18 18:06:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-21 15:48:06 +0300
commitf55ef00e0ea2664e1a2a7bd4e8670d27a0bf2b86 (patch)
tree8d80ae77cfe7f9fa48fbe9c45a34271a02ae3ba4 /drivers/staging/rtl8712/rtl871x_rf.h
parentbfc4ccb1584129d3ef051f8bf6155835374f132f (diff)
downloadlinux-f55ef00e0ea2664e1a2a7bd4e8670d27a0bf2b86.tar.xz
staging: rtl8712: Improve naming of include hearder guards
Choose a better name for the include hearder guard used in rtl871x_io.h. '_IO_H_' is to generic and does not match the comment after the #endif. Use '_RTL871X_IO_H_' instead. Also make the comments in the #endif /* XXX */ match the name used in #ifndef. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/20190818150609.3376-1-christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_rf.h')
-rw-r--r--drivers/staging/rtl8712/rtl871x_rf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_rf.h b/drivers/staging/rtl8712/rtl871x_rf.h
index cc54453cd424..7d98921a48fa 100644
--- a/drivers/staging/rtl8712/rtl871x_rf.h
+++ b/drivers/staging/rtl8712/rtl871x_rf.h
@@ -52,5 +52,4 @@ enum {
RTL8712_RFC_2T2R = 0x22
};
-#endif /*_RTL8711_RF_H_*/
-
+#endif /*__RTL871X_RF_H_*/