[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180313215358.GA20099@lkp-wsm-ep1>
Date: Wed, 14 Mar 2018 05:53:58 +0800
From: kbuild test robot <lkp@...el.com>
To: Nipun Gupta <nipun.gupta@....com>
Cc: kbuild-all@...org, hch@....de, robin.murphy@....com,
linux@...linux.org.uk, gregkh@...uxfoundation.org,
m.szyprowski@...sung.com, bhelgaas@...gle.com,
dmitry.torokhov@...il.com, rafael.j.wysocki@...el.com,
jarkko.sakkinen@...ux.intel.com, linus.walleij@...aro.org,
johan@...nel.org, msuchanek@...e.de, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org, linux-pci@...r.kernel.org,
Nipun Gupta <nipun.gupta@....com>
Subject: [RFC PATCH] dma-mapping: platform_dma_configure() can be static
Fixes: 9a019f425175 ("dma-mapping: move dma configuration to bus infrastructure")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
platform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index adf94eb..dc9c790 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -1130,7 +1130,7 @@ int platform_pm_restore(struct device *dev)
#endif /* CONFIG_HIBERNATE_CALLBACKS */
-int platform_dma_configure(struct device *dev)
+static int platform_dma_configure(struct device *dev)
{
enum dev_dma_attr attr;
int ret = 0;
@@ -1146,7 +1146,7 @@ int platform_dma_configure(struct device *dev)
return ret;
}
-void platform_dma_deconfigure(struct device *dev)
+static void platform_dma_deconfigure(struct device *dev)
{
of_dma_deconfigure(dev);
acpi_dma_deconfigure(dev);
Powered by blists - more mailing lists