summaryrefslogtreecommitdiff
path: root/drivers/staging/meilhaus/me8200_device.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-08-07 17:50:51 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-08-07 17:50:51 +1000
commiteec1ba76a0f043bdea21db10df4287bb5a4d25a8 (patch)
tree269e10ce578105322820dd426e30cf9eea7513c6 /drivers/staging/meilhaus/me8200_device.h
parent9fdbbf93bb3bb2b62335e780bb94871fc39dc5d8 (diff)
parentbb104a76ac0e6c103c36623616c7dee8cd9d165c (diff)
Merge branch 'quilt/staging'
Conflicts: drivers/staging/epl/VirtualEthernetLinux.c
Diffstat (limited to 'drivers/staging/meilhaus/me8200_device.h')
-rw-r--r--drivers/staging/meilhaus/me8200_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/meilhaus/me8200_device.h b/drivers/staging/meilhaus/me8200_device.h
index cbd2a01ddb41..66f50842dac0 100644
--- a/drivers/staging/meilhaus/me8200_device.h
+++ b/drivers/staging/meilhaus/me8200_device.h
@@ -53,7 +53,7 @@ static me8200_version_t me8200_versions[] = {
{0},
};
-#define ME8200_DEVICE_VERSIONS (sizeof(me8200_versions) / sizeof(me8200_version_t) - 1) /**< Returns the number of entries in #me8200_versions. */
+#define ME8200_DEVICE_VERSIONS (ARRAY_SIZE(me8200_versions) - 1) /**< Returns the number of entries in #me8200_versions. */
/**
* @brief Returns the index of the device entry in #me8200_versions.