projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492240b
)
usb: phy: tegra: Make of_device_id array const
author
Jingoo Han
<
[email protected]
>
Wed, 18 Jun 2014 04:43:50 +0000
(13:43 +0900)
committer
Felipe Balbi
<
[email protected]
>
Mon, 30 Jun 2014 17:14:42 +0000
(12:14 -0500)
Make of_device_id array const, because all OF functions handle
it as const.
Signed-off-by: Jingoo Han <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/phy/phy-tegra-usb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-tegra-usb.c
b/drivers/usb/phy/phy-tegra-usb.c
index bbe4f8e6e8d7492be10cc54cfe2f37e8001f2db6..cd36cb43ecc074ebf5c1732c10e8e061e18797f7 100644
(file)
--- a/
drivers/usb/phy/phy-tegra-usb.c
+++ b/
drivers/usb/phy/phy-tegra-usb.c
@@
-965,7
+965,7
@@
static const struct tegra_phy_soc_config tegra30_soc_config = {
.requires_extra_tuning_parameters = true,
};
-static struct of_device_id tegra_usb_phy_id_table[] = {
+static
const
struct of_device_id tegra_usb_phy_id_table[] = {
{ .compatible = "nvidia,tegra30-usb-phy", .data = &tegra30_soc_config },
{ .compatible = "nvidia,tegra20-usb-phy", .data = &tegra20_soc_config },
{ },