aboutsummaryrefslogtreecommitdiffstats
path: root/net/can/af_can.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2017-06-03 20:10:03 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-01-05 11:12:08 +0100
commitff847ee47be27621f978921919f035fcd87d6d08 (patch)
treedb569993159747f61bd4233479aebec009f2f696 /net/can/af_can.h
parentcan: raw: raw_bind(): bail out if can_family is not AF_CAN (diff)
downloadlinux-dev-ff847ee47be27621f978921919f035fcd87d6d08.tar.xz
linux-dev-ff847ee47be27621f978921919f035fcd87d6d08.zip
can: af_can: give struct holding the CAN per device receive lists a sensible name
This patch adds a "can_" prefix to the "struct dev_rcv_lists" to better reflect the meaning and improbe code readability. The conversion is done with: sed -i \ -e "s/struct dev_rcv_lists/struct can_dev_rcv_lists/g" \ net/can/*.[ch] include/net/netns/can.h Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/af_can.h')
-rw-r--r--net/can/af_can.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h
index eca6463c6213..9cb3719632bd 100644
--- a/net/can/af_can.h
+++ b/net/can/af_can.h
@@ -67,7 +67,7 @@ struct receiver {
enum { RX_ERR, RX_ALL, RX_FIL, RX_INV, RX_MAX };
/* per device receive filters linked at dev->ml_priv */
-struct dev_rcv_lists {
+struct can_dev_rcv_lists {
struct hlist_head rx[RX_MAX];
struct hlist_head rx_sff[CAN_SFF_RCV_ARRAY_SZ];
struct hlist_head rx_eff[CAN_EFF_RCV_ARRAY_SZ];