of/platform: Fix microblaze build failure
Commitbf5db2f
(microblaze: Use generic device.h) removes the microblaze specific pdev_archdata and dma_mask. At the same time, commit591c1ee
(of: configure the platform device dma parameters) initializes the just removed field. This causes all microblaze builds to fail. Drop the unnecessary initialization. Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
7171511eae
commit
e1319ea5db
1 changed files with 0 additions and 4 deletions
|
@ -166,10 +166,6 @@ static void of_dma_configure(struct platform_device *pdev)
|
||||||
int ret;
|
int ret;
|
||||||
struct device *dev = &pdev->dev;
|
struct device *dev = &pdev->dev;
|
||||||
|
|
||||||
#if defined(CONFIG_MICROBLAZE)
|
|
||||||
pdev->archdata.dma_mask = 0xffffffffUL;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set default dma-mask to 32 bit. Drivers are expected to setup
|
* Set default dma-mask to 32 bit. Drivers are expected to setup
|
||||||
* the correct supported dma_mask.
|
* the correct supported dma_mask.
|
||||||
|
|
Loading…
Add table
Reference in a new issue