Re: [PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-26 Thread Alex Deucher
On Fri, Nov 23, 2012 at 6:12 AM, James Hogan james.ho...@imgtec.com wrote: Prevent ati_pcigart.c being built unless PCI is enabled. The exported functions in this file are only used by drivers which depend on PCI (namely r128 and radeon), and it tries to use PCI specific functions

[PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-25 Thread Alex Deucher
On Fri, Nov 23, 2012 at 6:12 AM, James Hogan wrote: > Prevent ati_pcigart.c being built unless PCI is enabled. The exported > functions in this file are only used by drivers which depend on PCI > (namely r128 and radeon), and it tries to use PCI specific functions > (pci_unmap_page, pci_map_page,

[PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-23 Thread James Hogan
Prevent ati_pcigart.c being built unless PCI is enabled. The exported functions in this file are only used by drivers which depend on PCI (namely r128 and radeon), and it tries to use PCI specific functions (pci_unmap_page, pci_map_page, and pci_dma_mapping_error) that cause compiler errors when

[PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-23 Thread James Hogan
Prevent ati_pcigart.c being built unless PCI is enabled. The exported functions in this file are only used by drivers which depend on PCI (namely r128 and radeon), and it tries to use PCI specific functions (pci_unmap_page, pci_map_page, and pci_dma_mapping_error) that cause compiler errors when