mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
drm/tegra: Fix compile errors with clang
Fix build errors encountered when building the modules with android common kernel(ACK) using clang. Bug 3974840 Change-Id: Ie12d5143c3c13a66dcd5f0ee06035593d5bec6a6 Signed-off-by: Bruce Xu <brucex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2921068 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Jian-Min Liu <jianminl@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c59b9a9a26
commit
1360c38cf4
@@ -81,7 +81,7 @@ static inline void nvdec_writel(struct nvdec *nvdec, u32 value,
|
||||
|
||||
static int nvdec_set_rate(struct nvdec *nvdec, unsigned long rate)
|
||||
{
|
||||
struct nvdec_config *config = nvdec->config;
|
||||
const struct nvdec_config *config = nvdec->config;
|
||||
struct host1x_client *client = &nvdec->client.base;
|
||||
unsigned long dev_rate;
|
||||
u32 weight, emc_kbps;
|
||||
|
||||
Reference in New Issue
Block a user