mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
mtd: denali.h: fixed checkpatch errors
Fix all checkpatch.pl complaints. Artem: tweaked a little and fix tab indentations, so now this is not only about checkpatch, but also about making indentations look sane. Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
1c3275b656
commit
6ea9ad2418
1 changed files with 78 additions and 82 deletions
|
@ -647,15 +647,12 @@ struct device_info_tag {
|
|||
uint16_t wDeviceWidth;
|
||||
uint16_t wHWRevision;
|
||||
uint16_t wHWFeatures;
|
||||
|
||||
uint16_t wONFIDevFeatures;
|
||||
uint16_t wONFIOptCommands;
|
||||
uint16_t wONFITimingMode;
|
||||
uint16_t wONFIPgmCacheTimingMode;
|
||||
|
||||
uint16_t MLCDevice;
|
||||
uint16_t wSpareSkipBytes;
|
||||
|
||||
uint8_t nBitsInPageNumber;
|
||||
uint8_t nBitsInPageDataSize;
|
||||
uint8_t nBitsInBlockDataSize;
|
||||
|
@ -772,10 +769,9 @@ struct device_info_tag {
|
|||
#define ECC_SECTOR_SIZE 512
|
||||
#define LLD_MAX_FLASH_BANKS 4
|
||||
|
||||
#define DENALI_BUF_SIZE NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE
|
||||
#define DENALI_BUF_SIZE (NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE)
|
||||
|
||||
struct nand_buf
|
||||
{
|
||||
struct nand_buf {
|
||||
int head;
|
||||
int tail;
|
||||
uint8_t buf[DENALI_BUF_SIZE];
|
||||
|
@ -810,7 +806,7 @@ struct denali_nand_info {
|
|||
|
||||
static uint16_t NAND_Flash_Reset(struct denali_nand_info *denali);
|
||||
static uint16_t NAND_Read_Device_ID(struct denali_nand_info *denali);
|
||||
static void NAND_LLD_Enable_Disable_Interrupts(struct denali_nand_info *denali, uint16_t INT_ENABLE);
|
||||
static void NAND_LLD_Enable_Disable_Interrupts(struct denali_nand_info *denali,
|
||||
uint16_t INT_ENABLE);
|
||||
|
||||
#endif /*_LLD_NAND_*/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue