diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2016-07-20 03:11:02 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-08-08 11:44:20 +0200 |
commit | 572a7615aeddc881057a4653658731c8bfac7d86 (patch) | |
tree | a5d35f48966dbb8a2ed73c1a283ec9e9a76ac104 /drivers/gpu/ipu-v3/ipu-prv.h | |
parent | gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize() (diff) | |
download | linux-572a7615aeddc881057a4653658731c8bfac7d86.tar.xz linux-572a7615aeddc881057a4653658731c8bfac7d86.zip |
gpu: ipu-v3: Add ipu_get_num()
Adds of-alias id to ipu_soc and retrieve with ipu_get_num().
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-prv.h')
-rw-r--r-- | drivers/gpu/ipu-v3/ipu-prv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-prv.h b/drivers/gpu/ipu-v3/ipu-prv.h index bfb1e8a4483f..fd47f8f555cd 100644 --- a/drivers/gpu/ipu-v3/ipu-prv.h +++ b/drivers/gpu/ipu-v3/ipu-prv.h @@ -152,6 +152,7 @@ struct ipu_soc { void __iomem *cm_reg; void __iomem *idmac_reg; + int id; int usecount; struct clk *clk; |