Re: u32 vs. pm_message_t in ppc and radeon

From: Benjamin Herrenschmidt
Date: Tue Mar 29 2005 - 17:48:22 EST


On Tue, 2005-03-29 at 21:20 +0200, Pavel Machek wrote:

> --- clean/drivers/video/aty/radeonfb.h 2005-03-19 00:31:59.000000000 +0100
> +++ linux/drivers/video/aty/radeonfb.h 2005-03-22 12:20:53.000000000 +0100
> @@ -608,7 +608,7 @@
> extern int radeon_probe_i2c_connector(struct radeonfb_info *rinfo, int conn, u8 **out_edid);
>
> /* PM Functions */
> -extern int radeonfb_pci_suspend(struct pci_dev *pdev, u32 state);
> +extern int radeonfb_pci_suspend(struct pci_dev *pdev, pm_message_t state);
> extern int radeonfb_pci_resume(struct pci_dev *pdev);
> extern void radeonfb_pm_init(struct radeonfb_info *rinfo, int dynclk);
> extern void radeonfb_pm_exit(struct radeonfb_info *rinfo);
>
Well, if you change the .h, you should change the .c too :)

I'll have a look later.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/