// SPDX-License-Identifier: GPL-2.0+ /* * XRS700x tag format handling * Copyright (c) 2008-2009 Marvell Semiconductor * Copyright (c) 2020 NovaTech LLC */ #include <linux/bitops.h> #include "tag.h" #define XRS700X_NAME … static struct sk_buff *xrs700x_xmit(struct sk_buff *skb, struct net_device *dev) { … } static struct sk_buff *xrs700x_rcv(struct sk_buff *skb, struct net_device *dev) { … } static const struct dsa_device_ops xrs700x_netdev_ops = …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …; MODULE_ALIAS_DSA_TAG_DRIVER(…); module_dsa_tag_driver(xrs700x_netdev_ops);