Skip to content

Commit ccbed2d

Browse files
author
msperl
committed
Revert "added DMA masks also to SPI driver setup"
This reverts commit 6a51f6a.
1 parent 32cdb92 commit ccbed2d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

arch/arm/mach-bcm2708/bcm2708.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,15 +538,12 @@ static struct resource bcm2708_spi_resources[] = {
538538
}
539539
};
540540

541-
static u64 bcm2708_spi_dmamask = DMA_BIT_MASK(DMA_MASK_BITS_COMMON);
541+
542542
static struct platform_device bcm2708_spi_device = {
543543
.name = "bcm2708_spi",
544544
.id = 0,
545545
.num_resources = ARRAY_SIZE(bcm2708_spi_resources),
546546
.resource = bcm2708_spi_resources,
547-
.dev = {
548-
.dma_mask = &bcm2708_spi_dmamask,
549-
.coherent_dma_mask = DMA_BIT_MASK(DMA_MASK_BITS_COMMON)},
550547
};
551548

552549
#ifdef CONFIG_BCM2708_SPIDEV

0 commit comments

Comments
 (0)