Commit be825f02 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Remove lots of trailing whitespace from amd64 gart driver.

No code changes.
parent cd141477
...@@ -288,8 +288,8 @@ static int __devinit aperture_valid(u64 aper, u32 size) ...@@ -288,8 +288,8 @@ static int __devinit aperture_valid(u64 aper, u32 size)
/* Request the Aperture. This catches cases when someone else /* Request the Aperture. This catches cases when someone else
already put a mapping in there - happens with some very broken BIOS already put a mapping in there - happens with some very broken BIOS
Maybe better to use pci_assign_resource/pci_enable_device instead trusting Maybe better to use pci_assign_resource/pci_enable_device instead
the bridges? */ trusting the bridges? */
if (!aperture_resource && if (!aperture_resource &&
!(aperture_resource = request_mem_region(aper, size, "aperture"))) { !(aperture_resource = request_mem_region(aper, size, "aperture"))) {
printk(KERN_ERR PFX "Aperture conflicts with PCI mapping.\n"); printk(KERN_ERR PFX "Aperture conflicts with PCI mapping.\n");
...@@ -377,7 +377,6 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr) ...@@ -377,7 +377,6 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
/* Handle AMD 8151 quirks */ /* Handle AMD 8151 quirks */
static void __devinit amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge) static void __devinit amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge)
{ {
char *revstring; char *revstring;
u8 rev_id; u8 rev_id;
...@@ -491,8 +490,7 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev, ...@@ -491,8 +490,7 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
pdev->device == PCI_DEVICE_ID_AMD_8151_0) { pdev->device == PCI_DEVICE_ID_AMD_8151_0) {
amd8151_init(pdev, bridge); amd8151_init(pdev, bridge);
} else { } else {
printk(KERN_INFO PFX "Detected AGP bridge %x\n", printk(KERN_INFO PFX "Detected AGP bridge %x\n", pdev->devfn);
pdev->devfn);
} }
bridge->driver = &amd_8151_driver; bridge->driver = &amd_8151_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment