summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/property.h
blob: a0d7bed12af3c6e7a3554b0d0c59a43e5dc71c5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __BACKPORT_LINUX_PROPERTY_H_
#define __BACKPORT_LINUX_PROPERTY_H_
#include <linux/version.h>
#if LINUX_VERSION_IS_GEQ(3,18,17)
#include_next <linux/property.h>
#endif

#if LINUX_VERSION_IS_LESS(4,3,0)

#define device_get_mac_address LINUX_BACKPORT(device_get_mac_address)
void *device_get_mac_address(struct device *dev, char *addr, int alen);

#endif /* < 4.3 */

#endif /* __BACKPORT_LINUX_PROPERTY_H_ */