]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arch/parisc: Detect primary video device from device instance
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 20 Dec 2023 13:22:56 +0000 (14:22 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 12 Jan 2024 11:38:37 +0000 (12:38 +0100)
commitca6c080eef42e4149110f79cf73a48a6ec4e965d
tree80537ab800fd1b72ddaefa8fb0d6e4680e64fb6d
parentb362179731f0b59b8108b6afb95262ec88279759
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>
arch/parisc/video/fbdev.c