dmaengine: sa11x0: Mark PM functions as __maybe_unused
[linux-2.6-microblaze.git] / drivers / dma / sa11x0-dma.c
index 38f318b..a29c13c 100644 (file)
@@ -1001,7 +1001,7 @@ static int sa11x0_dma_remove(struct platform_device *pdev)
        return 0;
 }
 
-static int sa11x0_dma_suspend(struct device *dev)
+static __maybe_unused int sa11x0_dma_suspend(struct device *dev)
 {
        struct sa11x0_dma_dev *d = dev_get_drvdata(dev);
        unsigned pch;
@@ -1039,7 +1039,7 @@ static int sa11x0_dma_suspend(struct device *dev)
        return 0;
 }
 
-static int sa11x0_dma_resume(struct device *dev)
+static __maybe_unused int sa11x0_dma_resume(struct device *dev)
 {
        struct sa11x0_dma_dev *d = dev_get_drvdata(dev);
        unsigned pch;