]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/plat-s3c24xx/dma.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
[mv-sheeva.git] / arch / arm / plat-s3c24xx / dma.c
index 6d048490c559ddcda21b7451584ca00609b97725..aae1b9cbaf44b77a0e9f4ea7e9f37c04cd1a1191 100644 (file)
@@ -1265,14 +1265,14 @@ static int s3c2410_dma_resume(struct sys_device *dev)
 #endif /* CONFIG_PM */
 
 struct sysdev_class dma_sysclass = {
-       set_kset_name("s3c24xx-dma"),
+       .name           = "s3c24xx-dma",
        .suspend        = s3c2410_dma_suspend,
        .resume         = s3c2410_dma_resume,
 };
 
 /* kmem cache implementation */
 
-static void s3c2410_dma_cache_ctor(void *p, struct kmem_cache *c, unsigned long f)
+static void s3c2410_dma_cache_ctor(struct kmem_cache *c, void *p)
 {
        memset(p, 0, sizeof(struct s3c2410_dma_buf));
 }
@@ -1372,7 +1372,7 @@ int __init s3c24xx_dma_init(unsigned int channels, unsigned int irq,
        return ret;
 }
 
-int s3c2410_dma_init(void)
+int __init s3c2410_dma_init(void)
 {
        return s3c24xx_dma_init(4, IRQ_DMA0, 0x40);
 }