From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:28 +0000 (-0700) Subject: fbdev: detect primary display device X-Git-Tag: v2.6.23-rc1~594 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=317b3c2167f5326a7de30a1abe50c9897da7a0e3;p=pandora-kernel.git fbdev: detect primary display device Add function helper, fb_is_primary_device(). Given struct fb_info, it will return a nonzero value if the device is the primary display. Currently, only the i386 is supported where the function checks for the IORESOURCE_ROM_SHADOW flag. Signed-off-by: Antonino Daplas Cc: David Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed