mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	PCI: update for owner removal from struct device_attribute
Fixes the build. Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
		
							parent
							
								
									b879743f26
								
							
						
					
					
						commit
						763e9db999
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev, | |||
| } | ||||
| 
 | ||||
| static struct device_attribute smbios_attr_label = { | ||||
| 	.attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE}, | ||||
| 	.attr = {.name = "label", .mode = 0444}, | ||||
| 	.show = smbioslabel_show, | ||||
| }; | ||||
| 
 | ||||
| static struct device_attribute smbios_attr_instance = { | ||||
| 	.attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE}, | ||||
| 	.attr = {.name = "index", .mode = 0444}, | ||||
| 	.show = smbiosinstance_show, | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Stephen Rothwell
						Stephen Rothwell