diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-07-08 18:58:07 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-07-13 12:14:54 +0530 |
commit | 72fbf95f36218ec2a901e0eb7c3aa0bea6f1f396 (patch) | |
tree | 2165a39e513f4a61cc6df9ccd9c7cbfbdb63144a /drivers/phy | |
parent | f0c47c74583cc55c7ff9bdafff63bfb33edbb940 (diff) | |
download | lwn-72fbf95f36218ec2a901e0eb7c3aa0bea6f1f396.tar.gz lwn-72fbf95f36218ec2a901e0eb7c3aa0bea6f1f396.zip |
phy: rockchip-typec: use correct format for structure description
We get warning with W=1 build:
drivers/phy/rockchip/phy-rockchip-typec.c:360: warning: cannot
understand function prototype: 'struct rockchip_usb3phy_port_cfg '
The 'struct rockchip_usb3phy_port_cfg ' is commented properly but uses
wrong format, so fix that up
Link: https://lore.kernel.org/r/20200708132809.265967-4-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/rockchip/phy-rockchip-typec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/rockchip/phy-rockchip-typec.c b/drivers/phy/rockchip/phy-rockchip-typec.c index 24563160197f..70a31251b202 100644 --- a/drivers/phy/rockchip/phy-rockchip-typec.c +++ b/drivers/phy/rockchip/phy-rockchip-typec.c @@ -347,7 +347,7 @@ struct usb3phy_reg { }; /** - * struct rockchip_usb3phy_port_cfg: usb3-phy port configuration. + * struct rockchip_usb3phy_port_cfg - usb3-phy port configuration. * @reg: the base address for usb3-phy config. * @typec_conn_dir: the register of type-c connector direction. * @usb3tousb2_en: the register of type-c force usb2 to usb2 enable. |