aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/dcdbas.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/dcdbas.c')
-rw-r--r--drivers/firmware/dcdbas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c
index 3009e0171e54..18d65fb42ee7 100644
--- a/drivers/firmware/dcdbas.c
+++ b/drivers/firmware/dcdbas.c
@@ -545,7 +545,7 @@ static int __devinit dcdbas_probe(struct platform_device *dev)
545 * BIOS SMI calls require buffer addresses be in 32-bit address space. 545 * BIOS SMI calls require buffer addresses be in 32-bit address space.
546 * This is done by setting the DMA mask below. 546 * This is done by setting the DMA mask below.
547 */ 547 */
548 dcdbas_pdev->dev.coherent_dma_mask = DMA_32BIT_MASK; 548 dcdbas_pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
549 dcdbas_pdev->dev.dma_mask = &dcdbas_pdev->dev.coherent_dma_mask; 549 dcdbas_pdev->dev.dma_mask = &dcdbas_pdev->dev.coherent_dma_mask;
550 550
551 error = sysfs_create_group(&dev->dev.kobj, &dcdbas_attr_group); 551 error = sysfs_create_group(&dev->dev.kobj, &dcdbas_attr_group);