diff options
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 7e68bc6bc853..9f5b47200365 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -543,7 +543,7 @@ static void dsa_switch_destroy(struct dsa_switch *ds) | |||
543 | } | 543 | } |
544 | 544 | ||
545 | #ifdef CONFIG_PM_SLEEP | 545 | #ifdef CONFIG_PM_SLEEP |
546 | static int dsa_switch_suspend(struct dsa_switch *ds) | 546 | int dsa_switch_suspend(struct dsa_switch *ds) |
547 | { | 547 | { |
548 | int i, ret = 0; | 548 | int i, ret = 0; |
549 | 549 | ||
@@ -562,8 +562,9 @@ static int dsa_switch_suspend(struct dsa_switch *ds) | |||
562 | 562 | ||
563 | return ret; | 563 | return ret; |
564 | } | 564 | } |
565 | EXPORT_SYMBOL_GPL(dsa_switch_suspend); | ||
565 | 566 | ||
566 | static int dsa_switch_resume(struct dsa_switch *ds) | 567 | int dsa_switch_resume(struct dsa_switch *ds) |
567 | { | 568 | { |
568 | int i, ret = 0; | 569 | int i, ret = 0; |
569 | 570 | ||
@@ -585,6 +586,7 @@ static int dsa_switch_resume(struct dsa_switch *ds) | |||
585 | 586 | ||
586 | return 0; | 587 | return 0; |
587 | } | 588 | } |
589 | EXPORT_SYMBOL_GPL(dsa_switch_resume); | ||
588 | #endif | 590 | #endif |
589 | 591 | ||
590 | /* platform driver init and cleanup *****************************************/ | 592 | /* platform driver init and cleanup *****************************************/ |