mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
gpu: host1x: Fix _writel function declarations
Some of the _writel functions in dev.h had the r and v parameters swapped. Fix this to avoid confusion. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240425050238.2943404-1-cyndis@kapsi.fi
This commit is contained in:
committed by
Thierry Reding
parent
f5b8794e17
commit
955df44b5d
@@ -175,11 +175,11 @@ struct host1x {
|
||||
};
|
||||
|
||||
void host1x_common_writel(struct host1x *host1x, u32 v, u32 r);
|
||||
void host1x_hypervisor_writel(struct host1x *host1x, u32 r, u32 v);
|
||||
void host1x_hypervisor_writel(struct host1x *host1x, u32 v, u32 r);
|
||||
u32 host1x_hypervisor_readl(struct host1x *host1x, u32 r);
|
||||
void host1x_sync_writel(struct host1x *host1x, u32 r, u32 v);
|
||||
void host1x_sync_writel(struct host1x *host1x, u32 v, u32 r);
|
||||
u32 host1x_sync_readl(struct host1x *host1x, u32 r);
|
||||
void host1x_ch_writel(struct host1x_channel *ch, u32 r, u32 v);
|
||||
void host1x_ch_writel(struct host1x_channel *ch, u32 v, u32 r);
|
||||
u32 host1x_ch_readl(struct host1x_channel *ch, u32 r);
|
||||
|
||||
static inline void host1x_hw_syncpt_restore(struct host1x *host,
|
||||
|
||||
Reference in New Issue
Block a user