blob: 785a1246a60e1cfc90e8e19f51e48ace004d261e [file] [log] [blame]
developere5e687d2023-08-08 16:05:33 +08001/* 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
16struct tops_net_ser_data {
17 struct net_device *ndev;
18};
19
20int mtk_tops_netevent_register(struct platform_device *pdev);
21void mtk_tops_netevent_unregister(struct platform_device *pdev);
22#endif /* _TOPS_NET_EVENT_H_ */