summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-06-02 14:55:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-09 11:29:26 +0300
commit8d6b97ea1a0087ff0399f5d42771f67ac17f9233 (patch)
tree2881eb9300f78274d6cd0ad5fc0e3c0b96951743 /drivers/video/fbdev
parent31b73c6e202d90d29ff44901423fef5808ff86b9 (diff)
downloadlinux-8d6b97ea1a0087ff0399f5d42771f67ac17f9233.tar.xz
parisc/stifb: Keep track of hardware path of graphics card
commit b046f984814af7985f444150ec28716d42d00d9a upstream. Keep the pa_path (hardware path) of the graphics card in sti_struct and use this info to give more useful info which card is currently being used. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v5.10+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/sticore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/sticore.h b/drivers/video/fbdev/sticore.h
index c338f7848ae2..0ebdd28a0b81 100644
--- a/drivers/video/fbdev/sticore.h
+++ b/drivers/video/fbdev/sticore.h
@@ -370,6 +370,9 @@ struct sti_struct {
/* pointer to all internal data */
struct sti_all_data *sti_data;
+
+ /* pa_path of this device */
+ char pa_path[24];
};