From: Tobias Klauser Date: Mon, 16 May 2005 17:15:11 +0000 (+0200) Subject: [PATCH] Use pci_set_dma_mask() instead of direct assignment of DMA mask X-Git-Tag: v2.6.13-rc1~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac8c81a59bd3b6815871b3172e8ccf15a3431e0;p=pandora-kernel.git [PATCH] Use pci_set_dma_mask() instead of direct assignment of DMA mask The amd8111e driver directly assigns the DMA mask to the dma_mask member of the struct pci_dev instead of using pci_set_dma_mask(). This makes the call to pci_dma_supported() redundant as pci_set_dma_mask() does this check. I do not own this device so I only compile-tested this patch. Signed-off-by: Tobias Klauser --- Reading git-diff-tree failed