summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/can/gw.h
diff options
context:
space:
mode:
authorOliver Hartkopp2014-05-15 20:31:56 +0200
committerMarc Kleine-Budde2014-05-19 09:38:24 +0200
commit42193e3efb632c84d686acacd7b2327f2b1f8c63 (patch)
tree64b169d00c4c2f02b61f08aeedbc1ca4a9f18f0f /include/uapi/linux/can/gw.h
parentcan: add Renesas R-Car CAN driver (diff)
downloadkernel-qcow2-linux-42193e3efb632c84d686acacd7b2327f2b1f8c63.tar.gz
kernel-qcow2-linux-42193e3efb632c84d686acacd7b2327f2b1f8c63.tar.xz
kernel-qcow2-linux-42193e3efb632c84d686acacd7b2327f2b1f8c63.zip
can: unify identifiers to ensure unique include processing
Armin pointed me to the fact that the identifier which is used to ensure the unique include processing in lunux/include/uapi/linux/can.h is CAN_H. This clashed with his own source as includes from libraries and APIs should use an underscore '_' at the identifier start. This patch fixes the protection identifiers in all CAN relavant includes. Reported-by: Armin Burchardt <armin@uni-bremen.de> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/uapi/linux/can/gw.h')
-rw-r--r--include/uapi/linux/can/gw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/can/gw.h b/include/uapi/linux/can/gw.h
index 844c8964bdfe..3e6184cf2f6d 100644
--- a/include/uapi/linux/can/gw.h
+++ b/include/uapi/linux/can/gw.h
@@ -41,8 +41,8 @@
* DAMAGE.
*/
-#ifndef CAN_GW_H
-#define CAN_GW_H
+#ifndef _UAPI_CAN_GW_H
+#define _UAPI_CAN_GW_H
#include <linux/types.h>
#include <linux/can.h>
@@ -200,4 +200,4 @@ enum {
* Beware of sending unpacked or aligned structs!
*/
-#endif
+#endif /* !_UAPI_CAN_GW_H */