mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	rtc: pl031: constify amba_ids
The AMBA device IDs should be marked const. Make that so. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
		
							parent
							
								
									97f5b0379c
								
							
						
					
					
						commit
						eb508b36d5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -446,7 +446,7 @@ static struct pl031_vendor_data stv2_pl031 = {
 | 
				
			||||||
	.irqflags = IRQF_SHARED | IRQF_COND_SUSPEND,
 | 
						.irqflags = IRQF_SHARED | IRQF_COND_SUSPEND,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct amba_id pl031_ids[] = {
 | 
					static const struct amba_id pl031_ids[] = {
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		.id = 0x00041031,
 | 
							.id = 0x00041031,
 | 
				
			||||||
		.mask = 0x000fffff,
 | 
							.mask = 0x000fffff,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue