developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * Copyright (c) 2023 MediaTek Inc. All Rights Reserved. |
| 4 | * |
| 5 | * Author: Ren-Ting Wang <ren-ting.wang@mediatek.com> |
| 6 | */ |
| 7 | |
| 8 | #ifndef _TOPS_NET_EVENT_H_ |
| 9 | #define _TOPS_NET_EVENT_H_ |
| 10 | |
| 11 | #include <linux/platform_device.h> |
| 12 | |
| 13 | #include <mtk_eth_soc.h> |
| 14 | #include <mtk_eth_reset.h> |
| 15 | |
| 16 | struct tops_net_ser_data { |
| 17 | struct net_device *ndev; |
| 18 | }; |
| 19 | |
| 20 | int mtk_tops_netevent_register(struct platform_device *pdev); |
| 21 | void mtk_tops_netevent_unregister(struct platform_device *pdev); |
| 22 | #endif /* _TOPS_NET_EVENT_H_ */ |