mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
include/socketcan: prepare headers to be moved to include/linux
This patch changes the include from the socketcan folder to the linux folder: -#include <socketcan/can.h> +#include <linux/can.h> so that the socketcan folder can be eliminated in a later patch. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
#define CAN_BCM_H
|
#define CAN_BCM_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <socketcan/can.h>
|
#include <linux/can.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct bcm_msg_head - head of messages to/from the broadcast manager
|
* struct bcm_msg_head - head of messages to/from the broadcast manager
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#define CAN_GW_H
|
#define CAN_GW_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <socketcan/can.h>
|
#include <linux/can.h>
|
||||||
|
|
||||||
struct rtcanmsg {
|
struct rtcanmsg {
|
||||||
__u8 can_family;
|
__u8 can_family;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#ifndef CAN_ISOTP_H
|
#ifndef CAN_ISOTP_H
|
||||||
#define CAN_ISOTP_H
|
#define CAN_ISOTP_H
|
||||||
|
|
||||||
#include <socketcan/can.h>
|
#include <linux/can.h>
|
||||||
|
|
||||||
#define SOL_CAN_ISOTP (SOL_CAN_BASE + CAN_ISOTP)
|
#define SOL_CAN_ISOTP (SOL_CAN_BASE + CAN_ISOTP)
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#ifndef CAN_RAW_H
|
#ifndef CAN_RAW_H
|
||||||
#define CAN_RAW_H
|
#define CAN_RAW_H
|
||||||
|
|
||||||
#include <socketcan/can.h>
|
#include <linux/can.h>
|
||||||
|
|
||||||
#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
|
#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user