diff options
Diffstat (limited to 'drivers/gpu/host1x/drm/hdmi.c')
-rw-r--r-- | drivers/gpu/host1x/drm/hdmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/host1x/drm/hdmi.c b/drivers/gpu/host1x/drm/hdmi.c index 644d95c7d489..e7fb9d92cfcb 100644 --- a/drivers/gpu/host1x/drm/hdmi.c +++ b/drivers/gpu/host1x/drm/hdmi.c | |||
@@ -1181,7 +1181,7 @@ static const struct host1x_client_ops hdmi_client_ops = { | |||
1181 | 1181 | ||
1182 | static int tegra_hdmi_probe(struct platform_device *pdev) | 1182 | static int tegra_hdmi_probe(struct platform_device *pdev) |
1183 | { | 1183 | { |
1184 | struct host1x_drm *host1x = host1x_get_drm_data(pdev->dev.parent); | 1184 | struct tegra_drm *tegra = host1x_get_drm_data(pdev->dev.parent); |
1185 | struct tegra_hdmi *hdmi; | 1185 | struct tegra_hdmi *hdmi; |
1186 | struct resource *regs; | 1186 | struct resource *regs; |
1187 | int err; | 1187 | int err; |
@@ -1256,7 +1256,7 @@ static int tegra_hdmi_probe(struct platform_device *pdev) | |||
1256 | INIT_LIST_HEAD(&hdmi->client.list); | 1256 | INIT_LIST_HEAD(&hdmi->client.list); |
1257 | hdmi->client.dev = &pdev->dev; | 1257 | hdmi->client.dev = &pdev->dev; |
1258 | 1258 | ||
1259 | err = host1x_register_client(host1x, &hdmi->client); | 1259 | err = host1x_register_client(tegra, &hdmi->client); |
1260 | if (err < 0) { | 1260 | if (err < 0) { |
1261 | dev_err(&pdev->dev, "failed to register host1x client: %d\n", | 1261 | dev_err(&pdev->dev, "failed to register host1x client: %d\n", |
1262 | err); | 1262 | err); |
@@ -1270,11 +1270,11 @@ static int tegra_hdmi_probe(struct platform_device *pdev) | |||
1270 | 1270 | ||
1271 | static int tegra_hdmi_remove(struct platform_device *pdev) | 1271 | static int tegra_hdmi_remove(struct platform_device *pdev) |
1272 | { | 1272 | { |
1273 | struct host1x_drm *host1x = host1x_get_drm_data(pdev->dev.parent); | 1273 | struct tegra_drm *tegra = host1x_get_drm_data(pdev->dev.parent); |
1274 | struct tegra_hdmi *hdmi = platform_get_drvdata(pdev); | 1274 | struct tegra_hdmi *hdmi = platform_get_drvdata(pdev); |
1275 | int err; | 1275 | int err; |
1276 | 1276 | ||
1277 | err = host1x_unregister_client(host1x, &hdmi->client); | 1277 | err = host1x_unregister_client(tegra, &hdmi->client); |
1278 | if (err < 0) { | 1278 | if (err < 0) { |
1279 | dev_err(&pdev->dev, "failed to unregister host1x client: %d\n", | 1279 | dev_err(&pdev->dev, "failed to unregister host1x client: %d\n", |
1280 | err); | 1280 | err); |