lkml.org 
[lkml]   [2009]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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@oss.ntt.co.jp>
    ---

    diff -urNp linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h
    --- linux-2.6.31-rc1-orig/arch/mn10300/include/asm/pci.h 2009-06-26 10:58:02.012044068 +0900
    +++ linux-2.6.31-rc1/arch/mn10300/include/asm/pci.h 2009-06-26 11:19:34.130867667 +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)
    {

    \
     
     \ /
      Last update: 2009-06-26 04:31    [W:2.721 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site