diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-13 13:24:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 16:54:47 -0400 |
commit | 587376a15aab0673b09ec302e6fddb271862599f (patch) | |
tree | 0ae9b2e65c938101c9154923ac58c6d3455c356c | |
parent | 9a0e5110f736437bb683f49ceac058a4fce9e47e (diff) |
usb: phy: add MODULE_LICENSE to phy-tegra-usb.c
When this file is built as a module, it needs a MODULE_LICENSE in order
to access many exported symbols.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/phy/phy-tegra-usb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c index 5d9af11d2731..f0727f20e803 100644 --- a/drivers/usb/phy/phy-tegra-usb.c +++ b/drivers/usb/phy/phy-tegra-usb.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/err.h> | 24 | #include <linux/err.h> |
25 | #include <linux/export.h> | 25 | #include <linux/export.h> |
26 | #include <linux/module.h> | ||
26 | #include <linux/platform_device.h> | 27 | #include <linux/platform_device.h> |
27 | #include <linux/io.h> | 28 | #include <linux/io.h> |
28 | #include <linux/gpio.h> | 29 | #include <linux/gpio.h> |
@@ -869,3 +870,6 @@ struct usb_phy *tegra_usb_get_phy(struct device_node *dn) | |||
869 | return &tegra_phy->u_phy; | 870 | return &tegra_phy->u_phy; |
870 | } | 871 | } |
871 | EXPORT_SYMBOL_GPL(tegra_usb_get_phy); | 872 | EXPORT_SYMBOL_GPL(tegra_usb_get_phy); |
873 | |||
874 | MODULE_DESCRIPTION("Tegra USB PHY driver"); | ||
875 | MODULE_LICENSE("GPL v2"); | ||