X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Foss%2Fad1848.h;h=d0573b0239732edf59608863ef504523074544b8;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=76e3c6a1dd0737b5f92281745b56f89f20ee20df;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/sound/oss/ad1848.h b/sound/oss/ad1848.h index 76e3c6a1d..d0573b023 100644 --- a/sound/oss/ad1848.h +++ b/sound/oss/ad1848.h @@ -11,15 +11,15 @@ ad1848_control(AD1848_MIXER_REROUTE, ((oldctl)<<8)|(newctl)) -int ad1848_init(char *name, int io_base, int irq, int dma_playback, +int ad1848_init(char *name, struct resource *ports, int irq, int dma_playback, int dma_capture, int share_dma, int *osp, struct module *owner); void ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma); -int ad1848_detect (int io_base, int *flags, int *osp); +int ad1848_detect (struct resource *ports, int *flags, int *osp); int ad1848_control(int cmd, int arg); irqreturn_t adintr(int irq, void *dev_id, struct pt_regs * dummy); -void attach_ms_sound(struct address_info * hw_config, struct module * owner); +void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner); -int probe_ms_sound(struct address_info *hw_config); +int probe_ms_sound(struct address_info *hw_config, struct resource *ports); void unload_ms_sound(struct address_info *hw_info);