linux-next: ttydev tree build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/serial/8250_pci.c: In function 'pci_oxsemi_tornado_init':
drivers/serial/8250_pci.c:1868: error: 'pdev' undeclared (first use in this function)

Caused by commit f7c0c0bf8236d456488731940e0283434bd79ff6
("8250-oxsemi").  I applied the foloowing patch.

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2008 20:38:30 +1100
Subject: [PATCH] ttydev: fix typo in 8250-oxsemi

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 drivers/serial/8250_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index 4ddd66c..43c990a 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -1865,7 +1865,7 @@ static int pci_oxsemi_tornado_init(struct pci_dev *dev, struct pciserial_board *
 	unsigned long deviceID;
 	unsigned int  number_uarts;
 
-	p = pci_iomap(pdev, 0, 5);
+	p = pci_iomap(dev, 0, 5);
 	if (p == NULL)
 		return -ENOMEM;
     
@@ -1878,7 +1878,7 @@ static int pci_oxsemi_tornado_init(struct pci_dev *dev, struct pciserial_board *
 			"%d ports detected on Oxford PCI Express device\n",
 								number_uarts);
 	}
-	pci_iounmap(pdev, p);
+	pci_iounmap(dev, p);
 	return 0;
 }
 
-- 
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux