]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/dsp/ipbuf.c
ARM: OMAP: DSPGW: Peripheral (kfunc) control
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / dsp / ipbuf.c
index cdffc2f4bb49392fa8ba4f106a203823a0f0a170..547d085721eabadab9458802a462dd659ce36e1d 100644 (file)
@@ -42,7 +42,7 @@ void ipbuf_stop(void)
 {
        int i;
 
-       device_remove_file(dsp_device, &dev_attr_ipbuf);
+       device_remove_file(omap_dsp->dev, &dev_attr_ipbuf);
 
        spin_lock(&ipb_free.lock);
        RESET_IPBLINK(&ipb_free);
@@ -116,7 +116,7 @@ int ipbuf_config(u16 ln, u16 lsz, void *base)
               "           %d words * %d lines at 0x%p.\n",
               ipbcfg.lsz, ipbcfg.ln, ipbcfg.base);
 
-       device_create_file(dsp_device, &dev_attr_ipbuf);
+       device_create_file(omap_dsp->dev, &dev_attr_ipbuf);
 
        return ret;