X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fcycx_drv.h;h=6621df86a7487745fca4b447900b59431f5d3b2e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a71d2dcb236745053d652a77e54a0fb7b25eb4d4;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/cycx_drv.h b/include/linux/cycx_drv.h index a71d2dcb2..6621df86a 100644 --- a/include/linux/cycx_drv.h +++ b/include/linux/cycx_drv.h @@ -48,17 +48,17 @@ struct cycx_hw { u32 fwid; int irq; - void *dpmbase; + void __iomem *dpmbase; u32 dpmsize; u32 reserved[5]; }; /* Function Prototypes */ -extern int cycx_setup(struct cycx_hw *hw, void *sfm, u32 len); +extern int cycx_setup(struct cycx_hw *hw, void *sfm, u32 len, unsigned long base); extern int cycx_down(struct cycx_hw *hw); extern int cycx_peek(struct cycx_hw *hw, u32 addr, void *buf, u32 len); extern int cycx_poke(struct cycx_hw *hw, u32 addr, void *buf, u32 len); -extern int cycx_exec(void *addr); +extern int cycx_exec(void __iomem *addr); extern void cycx_inten(struct cycx_hw *hw); extern void cycx_intr(struct cycx_hw *hw);