]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/pcnet32.c
b43: reinit on too many PHY TX errors
[linux-2.6-omap-h63xx.git] / drivers / net / pcnet32.c
index 90498ffe26f284427b599a2430db3b8941314c54..c4b74e9fed205ffcedbfc5f30728f19dd888aa86 100644 (file)
@@ -137,7 +137,7 @@ static const char pcnet32_gstrings_test[][ETH_GSTRING_LEN] = {
        "Loopback test  (offline)"
 };
 
-#define PCNET32_TEST_LEN (sizeof(pcnet32_gstrings_test) / ETH_GSTRING_LEN)
+#define PCNET32_TEST_LEN       ARRAY_SIZE(pcnet32_gstrings_test)
 
 #define PCNET32_NUM_REGS 136