Skip to content

Commit 7a7f07f

Browse files
dpenklergregkh
authored andcommitted
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: c7184cb ("staging: gpib: Rename common include file") Signed-off-by: Dave Penkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e8186a3 commit 7a7f07f

File tree

1 file changed

+3
-4
lines changed
  • drivers/staging/gpib/uapi

1 file changed

+3
-4
lines changed

drivers/staging/gpib/uapi/gpib.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* copyright : (C) 2002 by Frank Mori Hess
55
***************************************************************************/
66

7-
#ifndef _GPIB_USER_H
8-
#define _GPIB_USER_H
7+
#ifndef _GPIB_H
8+
#define _GPIB_H
99

1010
#define GPIB_MAX_NUM_BOARDS 16
1111
#define GPIB_MAX_NUM_DESCRIPTORS 0x1000
@@ -298,6 +298,5 @@ enum gpib_stb {
298298
IB_STB_MAV = 0x10 /* IEEE 488.2 only */
299299
};
300300

301-
#endif /* _GPIB_USER_H */
301+
#endif /* _GPIB_H */
302302

303-
/* Check for errors */

0 commit comments

Comments
 (0)