aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/cpqphp_core.c2
-rw-r--r--drivers/pci/pci.c2
-rw-r--r--drivers/pci/pci.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c
index f184d1d2ecbe..6644337d63d6 100644
--- a/drivers/pci/hotplug/cpqphp_core.c
+++ b/drivers/pci/hotplug/cpqphp_core.c
@@ -848,7 +848,7 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
848 goto err_disable_device; 848 goto err_disable_device;
849 } 849 }
850 850
851 /* Check for the proper subsytem ID's 851 /* Check for the proper subsystem ID's
852 * Intel uses a different SSID programming model than Compaq. 852 * Intel uses a different SSID programming model than Compaq.
853 * For Intel, each SSID bit identifies a PHP capability. 853 * For Intel, each SSID bit identifies a PHP capability.
854 * Also Intel HPC's may have RID=0. 854 * Also Intel HPC's may have RID=0.
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 37499127c801..1df7c508814e 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1503,7 +1503,7 @@ int pci_prepare_to_sleep(struct pci_dev *dev)
1503 * pci_back_from_sleep - turn PCI device on during system-wide transition into working state 1503 * pci_back_from_sleep - turn PCI device on during system-wide transition into working state
1504 * @dev: Device to handle. 1504 * @dev: Device to handle.
1505 * 1505 *
1506 * Disable device's sytem wake-up capability and put it into D0. 1506 * Disable device's system wake-up capability and put it into D0.
1507 */ 1507 */
1508int pci_back_from_sleep(struct pci_dev *dev) 1508int pci_back_from_sleep(struct pci_dev *dev)
1509{ 1509{
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 4eb10f48d270..f8077b3c8c8c 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -244,7 +244,7 @@ struct pci_ats {
244 int stu; /* Smallest Translation Unit */ 244 int stu; /* Smallest Translation Unit */
245 int qdep; /* Invalidate Queue Depth */ 245 int qdep; /* Invalidate Queue Depth */
246 int ref_cnt; /* Physical Function reference count */ 246 int ref_cnt; /* Physical Function reference count */
247 int is_enabled:1; /* Enable bit is set */ 247 unsigned int is_enabled:1; /* Enable bit is set */
248}; 248};
249 249
250#ifdef CONFIG_PCI_IOV 250#ifdef CONFIG_PCI_IOV