mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	spi: tegra20-slink: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
		
							parent
							
								
									bff15edc0b
								
							
						
					
					
						commit
						b2fb1872d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1001,7 +1001,7 @@ static const struct tegra_slink_chip_data tegra20_spi_cdata = { | |||
| 	.cs_hold_time = false, | ||||
| }; | ||||
| 
 | ||||
| static struct of_device_id tegra_slink_of_match[] = { | ||||
| static const struct of_device_id tegra_slink_of_match[] = { | ||||
| 	{ .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, | ||||
| 	{ .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, | ||||
| 	{} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Jingoo Han
						Jingoo Han