]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Add device flag helper functions
authorEthan Zhao <ethan.zhao@oracle.com>
Tue, 9 Sep 2014 02:21:25 +0000 (10:21 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2014 22:12:27 +0000 (16:12 -0600)
commitce0529843a505d09f5809a7db6288d2f038f64c4
treee10b791b38c50caf3932a6eed6cdd5efa6a026c7
parent11e42532ada3174840196e8f23df29cb91c44b50
PCI: Add device flag helper functions

Add helper functions to hide direct device flag operations:

    void pci_set_dev_assigned(struct pci_dev *dev);
    void pci_clear_dev_assigned(struct pci_dev *dev);
    bool pci_is_dev_assigned(struct pci_dev *dev);

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci.h