Skip to content

Commit 660479a

Browse files
Sachin KamatFelipe Balbi
authored andcommitted
usb: host: fsl-mph-dr-of: Staticize local symbols
Local symbols used in this file are made static. Signed-off-by: Sachin Kamat <[email protected]> Cc: Anatolij Gustschin <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
1 parent 5c18a36 commit 660479a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/usb/host/fsl-mph-dr-of.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct fsl_usb2_dev_data {
2424
enum fsl_usb2_operating_modes op_mode; /* operating mode */
2525
};
2626

27-
struct fsl_usb2_dev_data dr_mode_data[] = {
27+
static struct fsl_usb2_dev_data dr_mode_data[] = {
2828
{
2929
.dr_mode = "host",
3030
.drivers = { "fsl-ehci", NULL, NULL, },
@@ -42,7 +42,7 @@ struct fsl_usb2_dev_data dr_mode_data[] = {
4242
},
4343
};
4444

45-
struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np)
45+
static struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np)
4646
{
4747
const unsigned char *prop;
4848
int i;
@@ -75,7 +75,7 @@ static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type)
7575
return FSL_USB2_PHY_NONE;
7676
}
7777

78-
struct platform_device *fsl_usb2_device_register(
78+
static struct platform_device *fsl_usb2_device_register(
7979
struct platform_device *ofdev,
8080
struct fsl_usb2_platform_data *pdata,
8181
const char *name, int id)

0 commit comments

Comments
 (0)