aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-05-09 13:30:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 13:44:58 +0200
commit7a7f07f248a60c10da9b751bcb1cb00d61f7fb30 (patch)
treec5456356c0b05051dee66ec84de25ff0a1281eda
parentstaging: gpib: Avoid unused variable warning (diff)
downloadwireguard-linux-7a7f07f248a60c10da9b751bcb1cb00d61f7fb30.tar.xz
wireguard-linux-7a7f07f248a60c10da9b751bcb1cb00d61f7fb30.zip
staging: gpib: Fix uapi include header guard name
When gpib_user.h was renamed to gpio.h the include guard name was not changed accordingly. Change the include guard name to correspond with the file name and cleanup the comments after the #endif. Fixes: c7184cbf5530 ("staging: gpib: Rename common include file") Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250509113014.9105-1-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/gpib/uapi/gpib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/gpib/uapi/gpib.h b/drivers/staging/gpib/uapi/gpib.h
index 4ca3cc9e0cd7..667e2fcc9130 100644
--- a/drivers/staging/gpib/uapi/gpib.h
+++ b/drivers/staging/gpib/uapi/gpib.h
@@ -4,8 +4,8 @@
* copyright : (C) 2002 by Frank Mori Hess
***************************************************************************/
-#ifndef _GPIB_USER_H
-#define _GPIB_USER_H
+#ifndef _GPIB_H
+#define _GPIB_H
#define GPIB_MAX_NUM_BOARDS 16
#define GPIB_MAX_NUM_DESCRIPTORS 0x1000
@@ -298,6 +298,5 @@ enum gpib_stb {
IB_STB_MAV = 0x10 /* IEEE 488.2 only */
};
-#endif /* _GPIB_USER_H */
+#endif /* _GPIB_H */
-/* Check for errors */