From: Felipe Balbi Date: Thu, 2 Dec 2010 07:51:00 +0000 (+0200) Subject: usb: musb: mark ->set_clock deprecated X-Git-Tag: v2.6.38-rc1~465^2~11^2~5^2~23 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3b7029670d39d22f288ece95254e9ba5ceddd6ba;p=~emulex%2Finfiniband.git 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 --- diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index 6f4e5014cf5..0b72b574164 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;