diff options
author | Dave Airlie <airlied@linux.ie> | 2006-08-19 16:43:16 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-08-19 16:43:16 +1000 |
commit | cc71393559b94ba491059822d7cad388460a0ddf (patch) | |
tree | 86a4f584402ae1f8df84098dfa955997042134fb /linux-core/drm_fops.c | |
parent | 4b38f72672c53ed64f016241dcb5d770894657b8 (diff) |
remove some DRM_ARRAY_SIZE from linux core code
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r-- | linux-core/drm_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c index 691edff9..74fcf4bd 100644 --- a/linux-core/drm_fops.c +++ b/linux-core/drm_fops.c @@ -71,7 +71,7 @@ static int drm_setup(drm_device_t * dev) return i; } - for (i = 0; i < DRM_ARRAY_SIZE(dev->counts); i++) + for (i = 0; i < ARRAY_SIZE(dev->counts); i++) atomic_set(&dev->counts[i], 0); drm_ht_create(&dev->magiclist, DRM_MAGIC_HASH_ORDER); |