Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: Explicitly initialize host1x_info structures

It's technically not required to explicitly initialize the fields that
will be zero by default, but it's easier to read these structures if
they are all initialized uniformly.

Signed-off-by: Thierry Reding <treding@nvidia.com>

+12
+12
drivers/gpu/host1x/dev.c
··· 77 77 .init = host1x01_init, 78 78 .sync_offset = 0x3000, 79 79 .dma_mask = DMA_BIT_MASK(32), 80 + .has_hypervisor = false, 81 + .num_sid_entries = 0, 82 + .sid_table = NULL, 80 83 }; 81 84 82 85 static const struct host1x_info host1x02_info = { ··· 90 87 .init = host1x02_init, 91 88 .sync_offset = 0x3000, 92 89 .dma_mask = DMA_BIT_MASK(32), 90 + .has_hypervisor = false, 91 + .num_sid_entries = 0, 92 + .sid_table = NULL, 93 93 }; 94 94 95 95 static const struct host1x_info host1x04_info = { ··· 103 97 .init = host1x04_init, 104 98 .sync_offset = 0x2100, 105 99 .dma_mask = DMA_BIT_MASK(34), 100 + .has_hypervisor = false, 101 + .num_sid_entries = 0, 102 + .sid_table = NULL, 106 103 }; 107 104 108 105 static const struct host1x_info host1x05_info = { ··· 116 107 .init = host1x05_init, 117 108 .sync_offset = 0x2100, 118 109 .dma_mask = DMA_BIT_MASK(34), 110 + .has_hypervisor = false, 111 + .num_sid_entries = 0, 112 + .sid_table = NULL, 119 113 }; 120 114 121 115 static const struct host1x_sid_entry tegra186_sid_table[] = {