diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-12 03:27:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-19 10:24:13 -0400 |
commit | 7f4bca4049941ba8dac35775fe462d4ef9f0dce4 (patch) | |
tree | f2f97f8d037e8f051b99fd6e7fa56251d6067f09 | |
parent | adb3ee421d6d39fbfadadf7093a587461ac4597e (diff) |
USB: musb: fix warnings in Blackfin regs
The recent commit "usb: musb: Add context save and restore support" added
some stubs for the Blackfin code so things would compile, but it also
added a bunch of warnings due to missing return statements.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/musb/musb_regs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_regs.h b/drivers/usb/musb/musb_regs.h index 327d0edd210e..fa55aacc385d 100644 --- a/drivers/usb/musb/musb_regs.h +++ b/drivers/usb/musb/musb_regs.h | |||
@@ -526,18 +526,22 @@ static inline void musb_write_ulpi_buscontrol(void __iomem *mbase, u8 val) | |||
526 | 526 | ||
527 | static inline u8 musb_read_txfifosz(void __iomem *mbase) | 527 | static inline u8 musb_read_txfifosz(void __iomem *mbase) |
528 | { | 528 | { |
529 | return 0; | ||
529 | } | 530 | } |
530 | 531 | ||
531 | static inline u16 musb_read_txfifoadd(void __iomem *mbase) | 532 | static inline u16 musb_read_txfifoadd(void __iomem *mbase) |
532 | { | 533 | { |
534 | return 0; | ||
533 | } | 535 | } |
534 | 536 | ||
535 | static inline u8 musb_read_rxfifosz(void __iomem *mbase) | 537 | static inline u8 musb_read_rxfifosz(void __iomem *mbase) |
536 | { | 538 | { |
539 | return 0; | ||
537 | } | 540 | } |
538 | 541 | ||
539 | static inline u16 musb_read_rxfifoadd(void __iomem *mbase) | 542 | static inline u16 musb_read_rxfifoadd(void __iomem *mbase) |
540 | { | 543 | { |
544 | return 0; | ||
541 | } | 545 | } |
542 | 546 | ||
543 | static inline u8 musb_read_ulpi_buscontrol(void __iomem *mbase) | 547 | static inline u8 musb_read_ulpi_buscontrol(void __iomem *mbase) |
@@ -596,22 +600,27 @@ static inline void musb_write_txhubport(void __iomem *mbase, u8 epnum, | |||
596 | 600 | ||
597 | static inline u8 musb_read_rxfunaddr(void __iomem *mbase, u8 epnum) | 601 | static inline u8 musb_read_rxfunaddr(void __iomem *mbase, u8 epnum) |
598 | { | 602 | { |
603 | return 0; | ||
599 | } | 604 | } |
600 | 605 | ||
601 | static inline u8 musb_read_rxhubaddr(void __iomem *mbase, u8 epnum) | 606 | static inline u8 musb_read_rxhubaddr(void __iomem *mbase, u8 epnum) |
602 | { | 607 | { |
608 | return 0; | ||
603 | } | 609 | } |
604 | 610 | ||
605 | static inline u8 musb_read_rxhubport(void __iomem *mbase, u8 epnum) | 611 | static inline u8 musb_read_rxhubport(void __iomem *mbase, u8 epnum) |
606 | { | 612 | { |
613 | return 0; | ||
607 | } | 614 | } |
608 | 615 | ||
609 | static inline u8 musb_read_txfunaddr(void __iomem *mbase, u8 epnum) | 616 | static inline u8 musb_read_txfunaddr(void __iomem *mbase, u8 epnum) |
610 | { | 617 | { |
618 | return 0; | ||
611 | } | 619 | } |
612 | 620 | ||
613 | static inline u8 musb_read_txhubaddr(void __iomem *mbase, u8 epnum) | 621 | static inline u8 musb_read_txhubaddr(void __iomem *mbase, u8 epnum) |
614 | { | 622 | { |
623 | return 0; | ||
615 | } | 624 | } |
616 | 625 | ||
617 | static inline void musb_read_txhubport(void __iomem *mbase, u8 epnum) | 626 | static inline void musb_read_txhubport(void __iomem *mbase, u8 epnum) |