mirror of https://github.com/OpenIPC/firmware.git
17 lines
598 B
Diff
17 lines
598 B
Diff
diff -drupN a/drivers/base/property.c b/drivers/base/property.c
|
|
--- a/drivers/base/property.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/drivers/base/property.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -979,6 +979,7 @@ enum dev_dma_attr device_get_dma_attr(st
|
|
}
|
|
EXPORT_SYMBOL_GPL(device_get_dma_attr);
|
|
|
|
+#ifdef CONFIG_ETHERNET
|
|
/**
|
|
* device_get_phy_mode - Get phy mode for given device
|
|
* @dev: Pointer to the given device
|
|
@@ -1056,3 +1057,4 @@ void *device_get_mac_address(struct devi
|
|
return device_get_mac_addr(dev, "address", addr, alen);
|
|
}
|
|
EXPORT_SYMBOL(device_get_mac_address);
|
|
+#endif
|