mtd: nand: use __packed shorthand
To be consistent with the rest of include/linux/mtd/nand.h, we should use the __packed shorthand instead of __attribute__((packed)). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Huang Shijie <b32955@freescale.com>
This commit is contained in:
		
					parent
					
						
							
								8429bb3975
							
						
					
				
			
			
				commit
				
					
						e2e6b7b7d6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -292,7 +292,7 @@ struct nand_onfi_params { | |||
| 	u8 vendor[88]; | ||||
| 
 | ||||
| 	__le16 crc; | ||||
| } __attribute__((packed)); | ||||
| } __packed; | ||||
| 
 | ||||
| #define ONFI_CRC_BASE	0x4F4E | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Norris
				Brian Norris