]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_ether.h
[ARM] 5262/2: [AT91] Support for GPIO-connected buttons on SAM9260-EK board
[linux-2.6-omap-h63xx.git] / include / linux / if_ether.h
index 42dc6a3571ec78a94d1de22dcae6e4a3b3ceece5..e157c1399b61c691b9b7ee192556cbbec74f2f03 100644 (file)
@@ -129,7 +129,8 @@ extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);
 /*
  *     Display a 6 byte device address (MAC) in a readable format.
  */
-extern __pure char *print_mac(char *buf, const unsigned char *addr);
+extern char *print_mac(char *buf, const unsigned char *addr);
+#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
 #define MAC_BUF_SIZE   18
 #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused