Coding style cleanup. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/drivers/ati_radeon_fb.h b/drivers/ati_radeon_fb.h
index 1c3ba64..b5c4b8b 100644
--- a/drivers/ati_radeon_fb.h
+++ b/drivers/ati_radeon_fb.h
@@ -5,7 +5,6 @@
* Most of the definitions here are adapted right from XFree86 *
***************************************************************/
-
/*
* Chip families. Must fit in the low 16 bits of a long word
*/
@@ -38,14 +37,12 @@
((rinfo)->family == CHIP_FAMILY_RV280) || \
((rinfo)->family == CHIP_FAMILY_RS300))
-
#define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \
((rinfo)->family == CHIP_FAMILY_RV350) || \
((rinfo)->family == CHIP_FAMILY_R350) || \
((rinfo)->family == CHIP_FAMILY_RV380) || \
((rinfo)->family == CHIP_FAMILY_R420))
-
struct radeonfb_info {
char name[20];
@@ -86,7 +83,6 @@
#define OUTREGP(addr,val,mask) _OUTREGP(rinfo, addr, val,mask)
-
/*
* 2D Engine helper routines
*/
@@ -106,7 +102,6 @@
printf("radeonfb: Flush Timeout !\n");
}
-
static inline void _radeon_fifo_wait(struct radeonfb_info *rinfo, int entries)
{
int i;
@@ -119,7 +114,6 @@
printf("radeonfb: FIFO Timeout !\n");
}
-
static inline void _radeon_engine_idle(struct radeonfb_info *rinfo)
{
int i;
@@ -137,7 +131,6 @@
printf("radeonfb: Idle Timeout !\n");
}
-
#define radeon_engine_idle() _radeon_engine_idle(rinfo)
#define radeon_fifo_wait(entries) _radeon_fifo_wait(rinfo,entries)
#define radeon_msleep(ms) _radeon_msleep(rinfo,ms)
@@ -255,9 +248,9 @@
u32 data;
OUTREG8(CLOCK_CNTL_INDEX, addr & 0x0000003f);
- //radeon_pll_errata_after_index(rinfo);
+ /* radeon_pll_errata_after_index(rinfo); */
data = INREG(CLOCK_CNTL_DATA);
- //radeon_pll_errata_after_data(rinfo);
+ /* radeon_pll_errata_after_data(rinfo); */
return data;
}
@@ -266,12 +259,11 @@
{
OUTREG8(CLOCK_CNTL_INDEX, (index & 0x0000003f) | 0x00000080);
- //radeon_pll_errata_after_index(rinfo);
+ /* radeon_pll_errata_after_index(rinfo); */
OUTREG(CLOCK_CNTL_DATA, val);
- //radeon_pll_errata_after_data(rinfo);
+ /* radeon_pll_errata_after_data(rinfo); */
}
-
static inline void __OUTPLLP(struct radeonfb_info *rinfo, unsigned int index,
u32 val, u32 mask)
{
@@ -283,11 +275,8 @@
__OUTPLL(rinfo, index, tmp);
}
-
#define INPLL(addr) __INPLL(rinfo, addr)
#define OUTPLL(index, val) __OUTPLL(rinfo, index, val)
#define OUTPLLP(index, val, mask) __OUTPLLP(rinfo, index, val, mask)
-
-
#endif