[POWERPC] add of_get_mac_address and update fsl_soc.c to use it
[powerpc.git] / include / asm-powerpc / prom.h
index 0afee17..020ed01 100644 (file)
@@ -255,6 +255,8 @@ extern void kdump_move_device_tree(void);
 /* CPU OF node matching */
 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread);
 
+/* Get the MAC address */
+extern const void *of_get_mac_address(struct device_node *np);
 
 /*
  * OF interrupt mapping