diff options
-rw-r--r-- | include/linux/can/core.h | 6 | ||||
-rw-r--r-- | include/linux/can/dev.h | 6 | ||||
-rw-r--r-- | include/linux/can/led.h | 6 | ||||
-rw-r--r-- | include/linux/can/platform/cc770.h | 6 | ||||
-rw-r--r-- | include/linux/can/platform/mcp251x.h | 6 | ||||
-rw-r--r-- | include/linux/can/platform/sja1000.h | 6 | ||||
-rw-r--r-- | include/linux/can/platform/ti_hecc.h | 6 | ||||
-rw-r--r-- | include/linux/can/skb.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can/bcm.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can/error.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can/gw.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can/netlink.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/can/raw.h | 6 |
14 files changed, 42 insertions, 42 deletions
diff --git a/include/linux/can/core.h b/include/linux/can/core.h index 78c6c52073ad..a0875001b13c 100644 --- a/include/linux/can/core.h +++ b/include/linux/can/core.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifndef CAN_CORE_H | 13 | #ifndef _CAN_CORE_H |
14 | #define CAN_CORE_H | 14 | #define _CAN_CORE_H |
15 | 15 | ||
16 | #include <linux/can.h> | 16 | #include <linux/can.h> |
17 | #include <linux/skbuff.h> | 17 | #include <linux/skbuff.h> |
@@ -58,4 +58,4 @@ extern void can_rx_unregister(struct net_device *dev, canid_t can_id, | |||
58 | extern int can_send(struct sk_buff *skb, int loop); | 58 | extern int can_send(struct sk_buff *skb, int loop); |
59 | extern int can_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); | 59 | extern int can_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); |
60 | 60 | ||
61 | #endif /* CAN_CORE_H */ | 61 | #endif /* !_CAN_CORE_H */ |
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index 3ce5e526525f..6992afc6ba7f 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifndef CAN_DEV_H | 13 | #ifndef _CAN_DEV_H |
14 | #define CAN_DEV_H | 14 | #define _CAN_DEV_H |
15 | 15 | ||
16 | #include <linux/can.h> | 16 | #include <linux/can.h> |
17 | #include <linux/can/netlink.h> | 17 | #include <linux/can/netlink.h> |
@@ -132,4 +132,4 @@ struct sk_buff *alloc_canfd_skb(struct net_device *dev, | |||
132 | struct sk_buff *alloc_can_err_skb(struct net_device *dev, | 132 | struct sk_buff *alloc_can_err_skb(struct net_device *dev, |
133 | struct can_frame **cf); | 133 | struct can_frame **cf); |
134 | 134 | ||
135 | #endif /* CAN_DEV_H */ | 135 | #endif /* !_CAN_DEV_H */ |
diff --git a/include/linux/can/led.h b/include/linux/can/led.h index 9c1167baf273..e0475c5cbb92 100644 --- a/include/linux/can/led.h +++ b/include/linux/can/led.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * published by the Free Software Foundation. | 6 | * published by the Free Software Foundation. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef CAN_LED_H | 9 | #ifndef _CAN_LED_H |
10 | #define CAN_LED_H | 10 | #define _CAN_LED_H |
11 | 11 | ||
12 | #include <linux/if.h> | 12 | #include <linux/if.h> |
13 | #include <linux/leds.h> | 13 | #include <linux/leds.h> |
@@ -48,4 +48,4 @@ static inline void can_led_notifier_exit(void) | |||
48 | 48 | ||
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #endif | 51 | #endif /* !_CAN_LED_H */ |
diff --git a/include/linux/can/platform/cc770.h b/include/linux/can/platform/cc770.h index 7702641f87ee..78b2d44f04cf 100644 --- a/include/linux/can/platform/cc770.h +++ b/include/linux/can/platform/cc770.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _CAN_PLATFORM_CC770_H_ | 1 | #ifndef _CAN_PLATFORM_CC770_H |
2 | #define _CAN_PLATFORM_CC770_H_ | 2 | #define _CAN_PLATFORM_CC770_H |
3 | 3 | ||
4 | /* CPU Interface Register (0x02) */ | 4 | /* CPU Interface Register (0x02) */ |
5 | #define CPUIF_CEN 0x01 /* Clock Out Enable */ | 5 | #define CPUIF_CEN 0x01 /* Clock Out Enable */ |
@@ -30,4 +30,4 @@ struct cc770_platform_data { | |||
30 | u8 bcr; /* Bus Configuration Register */ | 30 | u8 bcr; /* Bus Configuration Register */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | #endif /* !_CAN_PLATFORM_CC770_H_ */ | 33 | #endif /* !_CAN_PLATFORM_CC770_H */ |
diff --git a/include/linux/can/platform/mcp251x.h b/include/linux/can/platform/mcp251x.h index dc029dba7a03..d44fcae274ff 100644 --- a/include/linux/can/platform/mcp251x.h +++ b/include/linux/can/platform/mcp251x.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef __CAN_PLATFORM_MCP251X_H__ | 1 | #ifndef _CAN_PLATFORM_MCP251X_H |
2 | #define __CAN_PLATFORM_MCP251X_H__ | 2 | #define _CAN_PLATFORM_MCP251X_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * | 5 | * |
@@ -18,4 +18,4 @@ struct mcp251x_platform_data { | |||
18 | unsigned long oscillator_frequency; | 18 | unsigned long oscillator_frequency; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | #endif /* __CAN_PLATFORM_MCP251X_H__ */ | 21 | #endif /* !_CAN_PLATFORM_MCP251X_H */ |
diff --git a/include/linux/can/platform/sja1000.h b/include/linux/can/platform/sja1000.h index 96f8fcc78d78..93570b61ec6c 100644 --- a/include/linux/can/platform/sja1000.h +++ b/include/linux/can/platform/sja1000.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _CAN_PLATFORM_SJA1000_H_ | 1 | #ifndef _CAN_PLATFORM_SJA1000_H |
2 | #define _CAN_PLATFORM_SJA1000_H_ | 2 | #define _CAN_PLATFORM_SJA1000_H |
3 | 3 | ||
4 | /* clock divider register */ | 4 | /* clock divider register */ |
5 | #define CDR_CLKOUT_MASK 0x07 | 5 | #define CDR_CLKOUT_MASK 0x07 |
@@ -32,4 +32,4 @@ struct sja1000_platform_data { | |||
32 | u8 cdr; /* clock divider register */ | 32 | u8 cdr; /* clock divider register */ |
33 | }; | 33 | }; |
34 | 34 | ||
35 | #endif /* !_CAN_PLATFORM_SJA1000_H_ */ | 35 | #endif /* !_CAN_PLATFORM_SJA1000_H */ |
diff --git a/include/linux/can/platform/ti_hecc.h b/include/linux/can/platform/ti_hecc.h index af17cb3f7a84..a52f47ca6c8a 100644 --- a/include/linux/can/platform/ti_hecc.h +++ b/include/linux/can/platform/ti_hecc.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef __CAN_PLATFORM_TI_HECC_H__ | 1 | #ifndef _CAN_PLATFORM_TI_HECC_H |
2 | #define __CAN_PLATFORM_TI_HECC_H__ | 2 | #define _CAN_PLATFORM_TI_HECC_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * TI HECC (High End CAN Controller) driver platform header | 5 | * TI HECC (High End CAN Controller) driver platform header |
@@ -41,4 +41,4 @@ struct ti_hecc_platform_data { | |||
41 | u32 version; | 41 | u32 version; |
42 | void (*transceiver_switch) (int); | 42 | void (*transceiver_switch) (int); |
43 | }; | 43 | }; |
44 | #endif | 44 | #endif /* !_CAN_PLATFORM_TI_HECC_H */ |
diff --git a/include/linux/can/skb.h b/include/linux/can/skb.h index f9bbbb472663..cc00d15c6107 100644 --- a/include/linux/can/skb.h +++ b/include/linux/can/skb.h | |||
@@ -7,8 +7,8 @@ | |||
7 | * | 7 | * |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #ifndef CAN_SKB_H | 10 | #ifndef _CAN_SKB_H |
11 | #define CAN_SKB_H | 11 | #define _CAN_SKB_H |
12 | 12 | ||
13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
14 | #include <linux/skbuff.h> | 14 | #include <linux/skbuff.h> |
@@ -80,4 +80,4 @@ static inline struct sk_buff *can_create_echo_skb(struct sk_buff *skb) | |||
80 | return skb; | 80 | return skb; |
81 | } | 81 | } |
82 | 82 | ||
83 | #endif /* CAN_SKB_H */ | 83 | #endif /* !_CAN_SKB_H */ |
diff --git a/include/uapi/linux/can.h b/include/uapi/linux/can.h index 5d9d1d140718..41892f720057 100644 --- a/include/uapi/linux/can.h +++ b/include/uapi/linux/can.h | |||
@@ -42,8 +42,8 @@ | |||
42 | * DAMAGE. | 42 | * DAMAGE. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #ifndef CAN_H | 45 | #ifndef _UAPI_CAN_H |
46 | #define CAN_H | 46 | #define _UAPI_CAN_H |
47 | 47 | ||
48 | #include <linux/types.h> | 48 | #include <linux/types.h> |
49 | #include <linux/socket.h> | 49 | #include <linux/socket.h> |
@@ -191,4 +191,4 @@ struct can_filter { | |||
191 | 191 | ||
192 | #define CAN_INV_FILTER 0x20000000U /* to be set in can_filter.can_id */ | 192 | #define CAN_INV_FILTER 0x20000000U /* to be set in can_filter.can_id */ |
193 | 193 | ||
194 | #endif /* CAN_H */ | 194 | #endif /* !_UAPI_CAN_H */ |
diff --git a/include/uapi/linux/can/bcm.h b/include/uapi/linux/can/bcm.h index 382251a1d214..89ddb9dc9bdf 100644 --- a/include/uapi/linux/can/bcm.h +++ b/include/uapi/linux/can/bcm.h | |||
@@ -41,8 +41,8 @@ | |||
41 | * DAMAGE. | 41 | * DAMAGE. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #ifndef CAN_BCM_H | 44 | #ifndef _UAPI_CAN_BCM_H |
45 | #define CAN_BCM_H | 45 | #define _UAPI_CAN_BCM_H |
46 | 46 | ||
47 | #include <linux/types.h> | 47 | #include <linux/types.h> |
48 | #include <linux/can.h> | 48 | #include <linux/can.h> |
@@ -95,4 +95,4 @@ enum { | |||
95 | #define TX_RESET_MULTI_IDX 0x0200 | 95 | #define TX_RESET_MULTI_IDX 0x0200 |
96 | #define RX_RTR_FRAME 0x0400 | 96 | #define RX_RTR_FRAME 0x0400 |
97 | 97 | ||
98 | #endif /* CAN_BCM_H */ | 98 | #endif /* !_UAPI_CAN_BCM_H */ |
diff --git a/include/uapi/linux/can/error.h b/include/uapi/linux/can/error.h index b63204545320..c247446ab25a 100644 --- a/include/uapi/linux/can/error.h +++ b/include/uapi/linux/can/error.h | |||
@@ -41,8 +41,8 @@ | |||
41 | * DAMAGE. | 41 | * DAMAGE. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #ifndef CAN_ERROR_H | 44 | #ifndef _UAPI_CAN_ERROR_H |
45 | #define CAN_ERROR_H | 45 | #define _UAPI_CAN_ERROR_H |
46 | 46 | ||
47 | #define CAN_ERR_DLC 8 /* dlc for error message frames */ | 47 | #define CAN_ERR_DLC 8 /* dlc for error message frames */ |
48 | 48 | ||
@@ -120,4 +120,4 @@ | |||
120 | 120 | ||
121 | /* controller specific additional information / data[5..7] */ | 121 | /* controller specific additional information / data[5..7] */ |
122 | 122 | ||
123 | #endif /* CAN_ERROR_H */ | 123 | #endif /* _UAPI_CAN_ERROR_H */ |
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 @@ | |||
41 | * DAMAGE. | 41 | * DAMAGE. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #ifndef CAN_GW_H | 44 | #ifndef _UAPI_CAN_GW_H |
45 | #define CAN_GW_H | 45 | #define _UAPI_CAN_GW_H |
46 | 46 | ||
47 | #include <linux/types.h> | 47 | #include <linux/types.h> |
48 | #include <linux/can.h> | 48 | #include <linux/can.h> |
@@ -200,4 +200,4 @@ enum { | |||
200 | * Beware of sending unpacked or aligned structs! | 200 | * Beware of sending unpacked or aligned structs! |
201 | */ | 201 | */ |
202 | 202 | ||
203 | #endif | 203 | #endif /* !_UAPI_CAN_GW_H */ |
diff --git a/include/uapi/linux/can/netlink.h b/include/uapi/linux/can/netlink.h index 7e2e1863db16..813d11f54977 100644 --- a/include/uapi/linux/can/netlink.h +++ b/include/uapi/linux/can/netlink.h | |||
@@ -15,8 +15,8 @@ | |||
15 | * GNU General Public License for more details. | 15 | * GNU General Public License for more details. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef CAN_NETLINK_H | 18 | #ifndef _UAPI_CAN_NETLINK_H |
19 | #define CAN_NETLINK_H | 19 | #define _UAPI_CAN_NETLINK_H |
20 | 20 | ||
21 | #include <linux/types.h> | 21 | #include <linux/types.h> |
22 | 22 | ||
@@ -130,4 +130,4 @@ enum { | |||
130 | 130 | ||
131 | #define IFLA_CAN_MAX (__IFLA_CAN_MAX - 1) | 131 | #define IFLA_CAN_MAX (__IFLA_CAN_MAX - 1) |
132 | 132 | ||
133 | #endif /* CAN_NETLINK_H */ | 133 | #endif /* !_UAPI_CAN_NETLINK_H */ |
diff --git a/include/uapi/linux/can/raw.h b/include/uapi/linux/can/raw.h index c7d8c334e0ce..78ec76fd89a6 100644 --- a/include/uapi/linux/can/raw.h +++ b/include/uapi/linux/can/raw.h | |||
@@ -42,8 +42,8 @@ | |||
42 | * DAMAGE. | 42 | * DAMAGE. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #ifndef CAN_RAW_H | 45 | #ifndef _UAPI_CAN_RAW_H |
46 | #define CAN_RAW_H | 46 | #define _UAPI_CAN_RAW_H |
47 | 47 | ||
48 | #include <linux/can.h> | 48 | #include <linux/can.h> |
49 | 49 | ||
@@ -59,4 +59,4 @@ enum { | |||
59 | CAN_RAW_FD_FRAMES, /* allow CAN FD frames (default:off) */ | 59 | CAN_RAW_FD_FRAMES, /* allow CAN FD frames (default:off) */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | #endif | 62 | #endif /* !_UAPI_CAN_RAW_H */ |