Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / arch / sh / drivers / dma / dma-pvr2.c
index 2e1d58f..df60497 100644 (file)
@@ -80,7 +80,7 @@ static struct dma_ops pvr2_dma_ops = {
 };
 
 static struct dma_info pvr2_dma_info = {
-       .name           = "PowerVR 2 DMA",
+       .name           = "pvr2_dmac",
        .nr_channels    = 1,
        .ops            = &pvr2_dma_ops,
        .flags          = DMAC_CHANNELS_TEI_CAPABLE,
@@ -98,6 +98,7 @@ static void __exit pvr2_dma_exit(void)
 {
        free_dma(PVR2_CASCADE_CHAN);
        free_irq(HW_EVENT_PVR2_DMA, 0);
+       unregister_dmac(&pvr2_dma_info);
 }
 
 subsys_initcall(pvr2_dma_init);