[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1228367335.10823.22.camel@sebastian.kern.oss.ntt.co.jp>
Date: Thu, 04 Dec 2008 14:08:55 +0900
From: Fernando Luis Vázquez Cao
<fernando@....ntt.co.jp>
To: akpm@...ux-foundation.org
Cc: jbeulich@...ell.com, gregkh@...e.de, jbarnes@...tuousgeek.org,
linux-kernel@...r.kernel.org, dhowells@...hat.com,
yasutake.koichi@...panasonic.com,
Fernando Luis Vázquez Cao
<fernando@....ntt.co.jp>
Subject: [PATCH] PCI: remove pci_dac_dma_... APIs on mn10300
It seems that mn10300 made it upstream after Jan Beulich's pci_dac_dma_*
cleanup work and still defines pci_dac_dma_supported(). This API is not
required by the PCI subsystem anymore, so remove it.
Signed-off-by: Fernando Luis Vazquez Cao <fernando@....ntt.co.jp>
---
diff -urNp linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h linux-2.6.28-rc7/include/asm-mn10300/pci.h
--- linux-2.6.28-rc7-orig/include/asm-mn10300/pci.h 2008-10-10 07:13:53.000000000 +0900
+++ linux-2.6.28-rc7/include/asm-mn10300/pci.h 2008-12-04 13:53:13.000000000 +0900
@@ -70,10 +70,6 @@ struct pci_dev;
*/
#define PCI_DMA_BUS_IS_PHYS (1)
-
-/* This is always fine. */
-#define pci_dac_dma_supported(pci_dev, mask) (0)
-
/* Return the index of the PCI controller for device. */
static inline int pci_controller_num(struct pci_dev *dev)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists