Commit c7303523 authored by Luotao Fu's avatar Luotao Fu

move internally used defines away from header

Signed-off-by: 's avatarLuotao Fu <l.fu@pengutronix.de>
parent dc8f25b6
......@@ -22,11 +22,6 @@
#include <linux/can/netlink.h>
#define GET_STATE 1
#define GET_RESTART_MS 2
#define GET_BITTIMING 3
#define GET_CTRLMODE 4
int scan_set_restart(const char *name);
int scan_set_bitrate(const char *name, __u32 bitrate);
int scan_set_restart_ms(const char *name, __u32 restart_ms);
......
......@@ -41,6 +41,11 @@
#define IF_UP 1
#define IF_DOWN 2
#define GET_STATE 1
#define GET_RESTART_MS 2
#define GET_BITTIMING 3
#define GET_CTRLMODE 4
struct get_req {
struct nlmsghdr n;
struct rtgenmsg g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment