diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-16 13:03:52 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-17 18:06:57 +0200 |
commit | 660479aad1cd9d862b640c9dd9b91858cbb712b2 (patch) | |
tree | aa00698045446fa4f86a56972b860e7ce33f9bd3 | |
parent | usb: gadget: f_eem: Staticize eem_alloc (diff) | |
download | linux-660479aad1cd9d862b640c9dd9b91858cbb712b2.tar.xz linux-660479aad1cd9d862b640c9dd9b91858cbb712b2.zip |
usb: host: fsl-mph-dr-of: Staticize local symbols
Local symbols used in this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/host/fsl-mph-dr-of.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index 9e0020d9e4c8..abd5050a4899 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c @@ -24,7 +24,7 @@ struct fsl_usb2_dev_data { enum fsl_usb2_operating_modes op_mode; /* operating mode */ }; -struct fsl_usb2_dev_data dr_mode_data[] = { +static struct fsl_usb2_dev_data dr_mode_data[] = { { .dr_mode = "host", .drivers = { "fsl-ehci", NULL, NULL, }, @@ -42,7 +42,7 @@ struct fsl_usb2_dev_data dr_mode_data[] = { }, }; -struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np) +static struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np) { const unsigned char *prop; int i; @@ -75,7 +75,7 @@ static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type) return FSL_USB2_PHY_NONE; } -struct platform_device *fsl_usb2_device_register( +static struct platform_device *fsl_usb2_device_register( struct platform_device *ofdev, struct fsl_usb2_platform_data *pdata, const char *name, int id) |