summaryrefslogtreecommitdiff
path: root/include/linux/usb/musb.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-02 10:51:00 +0300
committerFelipe Balbi <balbi@ti.com>2010-12-10 11:21:24 +0300
commit3b7029670d39d22f288ece95254e9ba5ceddd6ba (patch)
tree46f8a0d4991ca042e1de3fd8e51cca9d24400a32 /include/linux/usb/musb.h
parentf7ec94370f417fedad4db1054228ef958d48b926 (diff)
downloadlinux-3b7029670d39d22f288ece95254e9ba5ceddd6ba.tar.xz
usb: musb: mark ->set_clock deprecated
... we will completely drop that need by moving clock handling to platform glue layer. Marking as deprecated will allow us to catch all users easily. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/musb.h')
-rw-r--r--include/linux/usb/musb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index 6f4e5014cf5e..0b72b5741645 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -119,7 +119,7 @@ struct musb_hdrc_platform_data {
int (*set_power)(int state);
/* Turn device clock on or off */
- int (*set_clock)(struct clk *clock, int is_on);
+ int (*set_clock)(struct clk *clock, int is_on) __deprecated;
/* MUSB configuration-specific details */
struct musb_hdrc_config *config;