mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	debugfs: regset32: make struct debugfs_reg32 pointer const
no user of that should ever change that pointer, so let's mark it const to prevent that from happening. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									0d4fb6e4cd
								
							
						
					
					
						commit
						833d6e01b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -33,7 +33,7 @@ struct debugfs_reg32 { | |||
| }; | ||||
| 
 | ||||
| struct debugfs_regset32 { | ||||
| 	struct debugfs_reg32 *regs; | ||||
| 	const struct debugfs_reg32 *regs; | ||||
| 	int nregs; | ||||
| 	void __iomem *base; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Felipe Balbi
						Felipe Balbi