]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: musb: mark ->set_clock deprecated
authorFelipe Balbi <balbi@ti.com>
Thu, 2 Dec 2010 07:51:00 +0000 (09:51 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 10 Dec 2010 08:21:24 +0000 (10:21 +0200)
... 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>
include/linux/usb/musb.h

index 6f4e5014cf5e648c7060ece729bdb93c8fd7b3ec..0b72b5741645f5de6169ba59adaea63fffba6bc1 100644 (file)
@@ -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;