Commit:     8311d570bcb3faea68941ebd5e240eb2e96d65a0
Parent:     f54d1e40b2732cd882646de3c860d24a6920cbc2
Author:     Ahmed S. Darwish <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 9 10:30:10 2007 +1100
Committer:  Dave Airlie <[EMAIL PROTECTED]>
CommitDate: Sun Mar 11 12:07:16 2007 +1100

    drm: Use ARRAY_SIZE macro when appropriate
    Use ARRAY_SIZE macro already defined in kernel.h
    Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>
 drivers/char/drm/drm_proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/drm/drm_proc.c b/drivers/char/drm/drm_proc.c
index 7fd0da7..b204498 100644
--- a/drivers/char/drm/drm_proc.c
+++ b/drivers/char/drm/drm_proc.c
@@ -72,7 +72,7 @@ static struct drm_proc_list {
-#define DRM_PROC_ENTRIES (sizeof(drm_proc_list)/sizeof(drm_proc_list[0]))
+#define DRM_PROC_ENTRIES ARRAY_SIZE(drm_proc_list)
  * Initialize the DRI proc filesystem for a device.
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to