diff options
author | Helge Deller <deller@gmx.de> | 2022-06-02 13:55:26 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-06-04 15:47:03 +0200 |
commit | b046f984814af7985f444150ec28716d42d00d9a (patch) | |
tree | fac1b812a67dabf277a398e1a55356845a468852 /drivers/video/fbdev/sticore.h | |
parent | parisc/stifb: Implement fb_is_primary_device() (diff) | |
download | linux-dev-b046f984814af7985f444150ec28716d42d00d9a.tar.xz linux-dev-b046f984814af7985f444150ec28716d42d00d9a.zip |
parisc/stifb: Keep track of hardware path of graphics card
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+
Diffstat (limited to '')
-rw-r--r-- | drivers/video/fbdev/sticore.h | 3 |
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]; }; |