File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
drivers/net/wireless/ath/ath10k Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3396,9 +3396,7 @@ static void ath10k_pci_remove(struct pci_dev *pdev)
3396
3396
3397
3397
MODULE_DEVICE_TABLE (pci , ath10k_pci_id_table );
3398
3398
3399
- #ifdef CONFIG_PM
3400
-
3401
- static int ath10k_pci_pm_suspend (struct device * dev )
3399
+ static __maybe_unused int ath10k_pci_pm_suspend (struct device * dev )
3402
3400
{
3403
3401
struct ath10k * ar = dev_get_drvdata (dev );
3404
3402
int ret ;
@@ -3414,7 +3412,7 @@ static int ath10k_pci_pm_suspend(struct device *dev)
3414
3412
return ret ;
3415
3413
}
3416
3414
3417
- static int ath10k_pci_pm_resume (struct device * dev )
3415
+ static __maybe_unused int ath10k_pci_pm_resume (struct device * dev )
3418
3416
{
3419
3417
struct ath10k * ar = dev_get_drvdata (dev );
3420
3418
int ret ;
@@ -3433,7 +3431,6 @@ static int ath10k_pci_pm_resume(struct device *dev)
3433
3431
static SIMPLE_DEV_PM_OPS (ath10k_pci_pm_ops ,
3434
3432
ath10k_pci_pm_suspend ,
3435
3433
ath10k_pci_pm_resume ) ;
3436
- #endif
3437
3434
3438
3435
static struct pci_driver ath10k_pci_driver = {
3439
3436
.name = "ath10k_pci" ,
You can’t perform that action at this time.
0 commit comments