drm: fix warning in drm_fops.c
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 18 Mar 2007 22:08:21 +0000 (09:08 +1100)
committerDave Airlie <airlied@linux.ie>
Sun, 18 Mar 2007 22:08:21 +0000 (09:08 +1100)
commit4b560fde06aeb342f3ff0bce924627ab722d251a
tree0ef357c410d73259731752021c2839420a1b79ad
parent99da6d861c659bb1a961b70f50fad268b9ed5a5f
drm: fix warning in drm_fops.c

drivers/char/drm/drm_fops.c: In function 'drm_setup':
drivers/char/drm/drm_fops.c:60: warning: comparison of distinct pointer types lacks a cast

Unfortunately PAGE_SIZE has different types on different architectures.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_fops.c