From 43d9f7fda11a3413c99fbbde35005ec3138eb865 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Tue, 16 Oct 2007 01:23:58 -0700 Subject: pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices Most non cardbus devices can't do dma, so flag them as such in the device creation routine. Signed-off-by: James Bottomley Cc: Andi Kleen Cc: Alan Cox Cc: Tejun Heo Cc: Natalie Protasevich Cc: Jeff Garzik Cc: Dominik Brodowski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/pcmcia/ds.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/pcmcia/ds.h') diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 90ef552c42dd..f047a1fd64f8 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -184,6 +184,7 @@ struct pcmcia_device { char * prod_id[4]; + u64 dma_mask; struct device dev; #ifdef CONFIG_PCMCIA_IOCTL -- cgit v1.2.3-59-g8ed1b