forked from mirrors/linux
		
	hwmon: (wm8350-hwmon) Constify fixed string array
Constify fixed string array and make checkpatch happy. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
		
							parent
							
								
									85ebfd3ef9
								
							
						
					
					
						commit
						a68abd32b9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -34,7 +34,7 @@ static ssize_t show_name(struct device *dev, | |||
| 	return sprintf(buf, "wm8350\n"); | ||||
| } | ||||
| 
 | ||||
| static const char *input_names[] = { | ||||
| static const char * const input_names[] = { | ||||
| 	[WM8350_AUXADC_USB]  = "USB", | ||||
| 	[WM8350_AUXADC_LINE] = "Line", | ||||
| 	[WM8350_AUXADC_BATT] = "Battery", | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Guenter Roeck
						Guenter Roeck