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>
This commit is contained in:
Родитель
f7ec94370f
Коммит
3b7029670d
|
@ -119,7 +119,7 @@ struct musb_hdrc_platform_data {
|
||||||
int (*set_power)(int state);
|
int (*set_power)(int state);
|
||||||
|
|
||||||
/* Turn device clock on or off */
|
/* 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 */
|
/* MUSB configuration-specific details */
|
||||||
struct musb_hdrc_config *config;
|
struct musb_hdrc_config *config;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче