summaryrefslogtreecommitdiffstats
path: root/include/of_net.h
blob: f37af58303a5d892256e39ddc3a47cdadcf29eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * OF helpers for network devices.
 */

#ifndef __LINUX_OF_NET_H
#define __LINUX_OF_NET_H

#include <of.h>
int of_get_phy_mode(struct device_node *np);
const void *of_get_mac_address(struct device_node *np);

#endif /* __LINUX_OF_NET_H */