]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
video/fb: cleanup FB_MAJOR usage
authorPhilippe De Muyter <phdm@macqel.be>
Thu, 24 Jul 2008 04:31:50 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:41 +0000 (10:47 -0700)
commit5bb49fcd501aa9fd3d321a22b7c01d9b0db7ab36
tree056028eae394c961fd45aade9a22f406d0b747bb
parentcba603bf514c101bf48f6adf393c3d00ed457a57
video/fb: cleanup FB_MAJOR usage

Currently, linux/major.h defines a GRAPHDEV_MAJOR (29) that nobody uses,
and linux/fb.h defines the real FB_MAJOR (also 29), that only fbmem.c
needs.  Drop GRAPHDEV_MAJOR from major.h, move FB_MAJOR definition from
fb.h to major.h, and fix fbmem.c to use major.h's definition.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c
include/linux/fb.h
include/linux/major.h