aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-01 08:06:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-01 08:06:54 +0200
commit885a64715fd81e6af6d94a038556e0b2e6deb19c (patch)
treef064e79917b5762d53bf1d2b69aa2f56c768a770 /drivers
parentRevert "amba: Initialize dma_parms for amba devices" (diff)
downloadlinux-dev-885a64715fd81e6af6d94a038556e0b2e6deb19c.tar.xz
linux-dev-885a64715fd81e6af6d94a038556e0b2e6deb19c.zip
Revert "driver core: platform: Initialize dma_parms for platform devices"
This reverts commit 7c8978c0837d40c302f5e90d24c298d9ca9fc097, a new version will come in the next release cycle. Cc: <stable@vger.kernel.org> Cc: Russell King <linux@armlinux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Cc: Ludovic Barre <ludovic.barre@st.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 46abbfb52655..b5ce7b085795 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -512,7 +512,6 @@ int platform_device_add(struct platform_device *pdev)
pdev->dev.parent = &platform_bus;
pdev->dev.bus = &platform_bus_type;
- pdev->dev.dma_parms = &pdev->dma_parms;
switch (pdev->id) {
default: