summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2010-12-02 09:51:00 +0200
committerFelipe Balbi <balbi@ti.com>2010-12-10 10:21:24 +0200
commit3b7029670d39d22f288ece95254e9ba5ceddd6ba (patch)
tree46f8a0d4991ca042e1de3fd8e51cca9d24400a32 /include/linux/usb
parentf7ec94370f417fedad4db1054228ef958d48b926 (diff)
downloadlinux-3b7029670d39d22f288ece95254e9ba5ceddd6ba.tar.gz
linux-3b7029670d39d22f288ece95254e9ba5ceddd6ba.tar.bz2
linux-3b7029670d39d22f288ece95254e9ba5ceddd6ba.zip
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')
-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;