diff options
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
-rw-r--r-- | drivers/gpu/host1x/dev.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index ff348690df94..a62317af76ad 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c | |||
@@ -63,13 +63,13 @@ u32 host1x_ch_readl(struct host1x_channel *ch, u32 r) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | static const struct host1x_info host1x01_info = { | 65 | static const struct host1x_info host1x01_info = { |
66 | .nb_channels = 8, | 66 | .nb_channels = 8, |
67 | .nb_pts = 32, | 67 | .nb_pts = 32, |
68 | .nb_mlocks = 16, | 68 | .nb_mlocks = 16, |
69 | .nb_bases = 8, | 69 | .nb_bases = 8, |
70 | .init = host1x01_init, | 70 | .init = host1x01_init, |
71 | .sync_offset = 0x3000, | 71 | .sync_offset = 0x3000, |
72 | .dma_mask = DMA_BIT_MASK(32), | 72 | .dma_mask = DMA_BIT_MASK(32), |
73 | }; | 73 | }; |
74 | 74 | ||
75 | static const struct host1x_info host1x02_info = { | 75 | static const struct host1x_info host1x02_info = { |
@@ -102,7 +102,7 @@ static const struct host1x_info host1x05_info = { | |||
102 | .dma_mask = DMA_BIT_MASK(34), | 102 | .dma_mask = DMA_BIT_MASK(34), |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static struct of_device_id host1x_of_match[] = { | 105 | static const struct of_device_id host1x_of_match[] = { |
106 | { .compatible = "nvidia,tegra210-host1x", .data = &host1x05_info, }, | 106 | { .compatible = "nvidia,tegra210-host1x", .data = &host1x05_info, }, |
107 | { .compatible = "nvidia,tegra124-host1x", .data = &host1x04_info, }, | 107 | { .compatible = "nvidia,tegra124-host1x", .data = &host1x04_info, }, |
108 | { .compatible = "nvidia,tegra114-host1x", .data = &host1x02_info, }, | 108 | { .compatible = "nvidia,tegra114-host1x", .data = &host1x02_info, }, |