diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-04-28 03:40:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-29 20:24:33 -0400 |
commit | 206dcc2cfe15b6174f15293ae15a097ee03eb386 (patch) | |
tree | ee7ce46c95392414748b3f3dde26f8eee2280238 /drivers/usb/renesas_usbhs/common.h | |
parent | f429ea3f3488e1a0683f6f9ce76b420b5ebd2d63 (diff) |
usb: renesas_usbhs: move pdev_to_priv to global
usbhs_pdev_to_priv function will be used in other files.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index f1a2b62f93f9..f3b907d26082 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h | |||
@@ -217,6 +217,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv); | |||
217 | /* | 217 | /* |
218 | * data | 218 | * data |
219 | */ | 219 | */ |
220 | struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev); | ||
220 | #define usbhs_get_dparam(priv, param) (priv->dparam->param) | 221 | #define usbhs_get_dparam(priv, param) (priv->dparam->param) |
221 | #define usbhs_priv_to_pdev(priv) (priv->pdev) | 222 | #define usbhs_priv_to_pdev(priv) (priv->pdev) |
222 | #define usbhs_priv_to_dev(priv) (&priv->pdev->dev) | 223 | #define usbhs_priv_to_dev(priv) (&priv->pdev->dev) |