diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-07 04:01:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 17:31:12 +0200 |
commit | 2f4f27d42a301ed147e50c2edbcd27bb8990bc8e (patch) | |
tree | 48d3ddb39d97bd7b9a176395c5a97b0001b2b84c /drivers/pnp/card.c | |
parent | dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) (diff) | |
download | linux-2f4f27d42a301ed147e50c2edbcd27bb8990bc8e.tar.xz linux-2f4f27d42a301ed147e50c2edbcd27bb8990bc8e.zip |
dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
Replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/card.c')
-rw-r--r-- | drivers/pnp/card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c index efea128f02da..4a651f69e17c 100644 --- a/drivers/pnp/card.c +++ b/drivers/pnp/card.c @@ -167,7 +167,7 @@ struct pnp_card *pnp_alloc_card(struct pnp_protocol *protocol, int id, char *pnp card->dev.parent = &card->protocol->dev; dev_set_name(&card->dev, "%02x:%02x", card->protocol->number, card->number); - card->dev.coherent_dma_mask = DMA_24BIT_MASK; + card->dev.coherent_dma_mask = DMA_BIT_MASK(24); card->dev.dma_mask = &card->dev.coherent_dma_mask; dev_id = pnp_add_card_id(card, pnpid); |