Commit ca81dd07 authored by Alan Hourihane's avatar Alan Hourihane

fix some warnings

parent 8dbdb74d
...@@ -599,22 +599,22 @@ static char *GET_MON_NAME(int type) ...@@ -599,22 +599,22 @@ static char *GET_MON_NAME(int type)
switch (type) { switch (type) {
case MT_NONE: case MT_NONE:
pret = "no"; pret = (char *)"no";
break; break;
case MT_CRT: case MT_CRT:
pret = "CRT"; pret = (char *)"CRT";
break; break;
case MT_DFP: case MT_DFP:
pret = "DFP"; pret = (char *)"DFP";
break; break;
case MT_LCD: case MT_LCD:
pret = "LCD"; pret = (char *)"LCD";
break; break;
case MT_CTV: case MT_CTV:
pret = "CTV"; pret = (char *)"CTV";
break; break;
case MT_STV: case MT_STV:
pret = "STV"; pret = (char *)"STV";
break; break;
} }
...@@ -894,6 +894,7 @@ static struct backlight_controller radeon_backlight_controller = { ...@@ -894,6 +894,7 @@ static struct backlight_controller radeon_backlight_controller = {
#endif /* CONFIG_PMAC_BACKLIGHT */ #endif /* CONFIG_PMAC_BACKLIGHT */
#if 0
static void OUTMC( struct radeonfb_info *rinfo, u8 indx, u32 value); static void OUTMC( struct radeonfb_info *rinfo, u8 indx, u32 value);
static u32 INMC(struct radeonfb_info *rinfo, u8 indx); static u32 INMC(struct radeonfb_info *rinfo, u8 indx);
static void radeon_pm_disable_dynamic_mode(struct radeonfb_info *rinfo); static void radeon_pm_disable_dynamic_mode(struct radeonfb_info *rinfo);
...@@ -902,6 +903,7 @@ static void radeon_pm_yclk_mclk_sync(struct radeonfb_info *rinfo); ...@@ -902,6 +903,7 @@ static void radeon_pm_yclk_mclk_sync(struct radeonfb_info *rinfo);
static void radeon_pm_program_mode_reg(struct radeonfb_info *rinfo, u16 value, u8 delay_required); static void radeon_pm_program_mode_reg(struct radeonfb_info *rinfo, u16 value, u8 delay_required);
static void radeon_pm_enable_dll(struct radeonfb_info *rinfo); static void radeon_pm_enable_dll(struct radeonfb_info *rinfo);
static void radeon_pm_full_reset_sdram(struct radeonfb_info *rinfo); static void radeon_pm_full_reset_sdram(struct radeonfb_info *rinfo);
#endif
...@@ -917,7 +919,7 @@ static struct fb_ops radeon_fb_ops = { ...@@ -917,7 +919,7 @@ static struct fb_ops radeon_fb_ops = {
static struct pci_driver radeonfb_driver = { static struct pci_driver radeonfb_driver = {
name: "radeonfb", name: (char *)"radeonfb",
id_table: radeonfb_pci_table, id_table: radeonfb_pci_table,
probe: radeonfb_pci_register, probe: radeonfb_pci_register,
remove: __devexit_p(radeonfb_pci_unregister), remove: __devexit_p(radeonfb_pci_unregister),
...@@ -4454,6 +4456,7 @@ static void fbcon_radeon_bmove(struct display *p, int srcy, int srcx, ...@@ -4454,6 +4456,7 @@ static void fbcon_radeon_bmove(struct display *p, int srcy, int srcx,
}; };
#if defined(FBCON_HAS_CFB8) || defined(FBCON_HAS_CFB16)
static void radeon_rectfill (struct radeonfb_info *rinfo, static void radeon_rectfill (struct radeonfb_info *rinfo,
int dsty, int dstx, int dsty, int dstx,
int height, int width, int height, int width,
...@@ -4472,6 +4475,7 @@ static void radeon_rectfill (struct radeonfb_info *rinfo, ...@@ -4472,6 +4475,7 @@ static void radeon_rectfill (struct radeonfb_info *rinfo,
radeon_engine_idle(); radeon_engine_idle();
} }
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment