forked from luck/tmp_suning_uos_patched
Staging: sm750fb: Inserted spaces after commas in three files.
Insert Spaces after commas to rectify the following checkpatch errors in ddk750_hwi2c.h, ddk750_help.h and ddk750_chip.h: ERROR: space required after that ',' Signed-off-by: Isaac Assegai <isaac.a.travers@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5e93581388
commit
555a6b1e24
|
@ -76,10 +76,10 @@ initchip_param_t;
|
|||
|
||||
|
||||
logical_chip_type_t getChipType(void);
|
||||
unsigned int calcPllValue(unsigned int request,pll_value_t *pll);
|
||||
unsigned int calcPllValue2(unsigned int,pll_value_t *);
|
||||
unsigned int calcPllValue(unsigned int request, pll_value_t *pll);
|
||||
unsigned int calcPllValue2(unsigned int, pll_value_t *);
|
||||
unsigned int formatPllReg(pll_value_t *pPLL);
|
||||
void ddk750_set_mmio(void __iomem *,unsigned short,char);
|
||||
void ddk750_set_mmio(void __iomem *, unsigned short, char);
|
||||
unsigned int ddk750_getVMSize(void);
|
||||
int ddk750_initHw(initchip_param_t *);
|
||||
unsigned int getPllValue(clock_type_t clockType, pll_value_t *pPLL);
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
/* if 718 big endian turned on,be aware that don't use this driver for general use,only for ppc big-endian */
|
||||
#warning "big endian on target cpu and enable nature big endian support of 718 capability !"
|
||||
#define PEEK32(addr) __raw_readl(mmio750 + addr)
|
||||
#define POKE32(addr,data) __raw_writel(data, mmio750 + addr)
|
||||
#define POKE32(addr, data) __raw_writel(data, mmio750 + addr)
|
||||
#else /* software control endianness */
|
||||
#define PEEK32(addr) readl(addr + mmio750)
|
||||
#define POKE32(addr,data) writel(data, addr + mmio750)
|
||||
#define POKE32(addr, data) writel(data, addr + mmio750)
|
||||
#endif
|
||||
|
||||
extern void __iomem * mmio750;
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
int hwI2CInit(unsigned char busSpeedMode);
|
||||
void hwI2CClose(void);
|
||||
|
||||
unsigned char hwI2CReadReg(unsigned char deviceAddress,unsigned char registerIndex);
|
||||
int hwI2CWriteReg(unsigned char deviceAddress,unsigned char registerIndex,unsigned char data);
|
||||
unsigned char hwI2CReadReg(unsigned char deviceAddress, unsigned char registerIndex);
|
||||
int hwI2CWriteReg(unsigned char deviceAddress, unsigned char registerIndex, unsigned char data);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user