Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arch/parisc: Detect primary video device from device instance

Update fb_is_primary device() on parisc to detect the primary display
device from the Linux device instance. Aligns the code with the other
architectures. A later patch will remove the fbdev dependency from the
function's interface.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Thomas Zimmermann and committed by
Helge Deller
ca6c080e b3621797

+1 -1
+1 -1
arch/parisc/video/fbdev.c
··· 21 21 return true; 22 22 23 23 /* return true if it's the default built-in framebuffer driver */ 24 - return (sti->info == info); 24 + return (sti->dev == info->device); 25 25 } 26 26 EXPORT_SYMBOL(fb_is_primary_device);