aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-07 03:49:27 -0500
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:18:04 -0400
commit110ff6d04162a8a3b288019eaf84dee0800270e0 (patch)
tree328d9809f2ab8739dc1f2692010eb1e9dc189666 /drivers/usb
parent7009bdd7f31ed6e769af0f76e2368bb6033be572 (diff)
usb: phy: convert EXPORT_SYMBOL to EXPORT_SYMBOL_GPL
we only want GPL users for our generic functions, so let's switch over to EXPORT_SYMBOL_GPL. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/phy/phy.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index bc1970c55df0..f52c006417ff 100644
--- a/drivers/usb/phy/phy.c
+++ b/drivers/usb/phy/phy.c
@@ -109,7 +109,7 @@ struct usb_phy *devm_usb_get_phy(struct device *dev, enum usb_phy_type type)
109 109
110 return phy; 110 return phy;
111} 111}
112EXPORT_SYMBOL(devm_usb_get_phy); 112EXPORT_SYMBOL_GPL(devm_usb_get_phy);
113 113
114/** 114/**
115 * usb_get_phy - find the USB PHY 115 * usb_get_phy - find the USB PHY
@@ -142,7 +142,7 @@ err0:
142 142
143 return phy; 143 return phy;
144} 144}
145EXPORT_SYMBOL(usb_get_phy); 145EXPORT_SYMBOL_GPL(usb_get_phy);
146 146
147 /** 147 /**
148 * devm_usb_get_phy_by_phandle - find the USB PHY by phandle 148 * devm_usb_get_phy_by_phandle - find the USB PHY by phandle
@@ -206,7 +206,7 @@ err0:
206 206
207 return phy; 207 return phy;
208} 208}
209EXPORT_SYMBOL(devm_usb_get_phy_by_phandle); 209EXPORT_SYMBOL_GPL(devm_usb_get_phy_by_phandle);
210 210
211/** 211/**
212 * usb_get_phy_dev - find the USB PHY 212 * usb_get_phy_dev - find the USB PHY
@@ -239,7 +239,7 @@ err0:
239 239
240 return phy; 240 return phy;
241} 241}
242EXPORT_SYMBOL(usb_get_phy_dev); 242EXPORT_SYMBOL_GPL(usb_get_phy_dev);
243 243
244/** 244/**
245 * devm_usb_get_phy_dev - find the USB PHY using device ptr and index 245 * devm_usb_get_phy_dev - find the USB PHY using device ptr and index
@@ -269,7 +269,7 @@ struct usb_phy *devm_usb_get_phy_dev(struct device *dev, u8 index)
269 269
270 return phy; 270 return phy;
271} 271}
272EXPORT_SYMBOL(devm_usb_get_phy_dev); 272EXPORT_SYMBOL_GPL(devm_usb_get_phy_dev);
273 273
274/** 274/**
275 * devm_usb_put_phy - release the USB PHY 275 * devm_usb_put_phy - release the USB PHY
@@ -288,7 +288,7 @@ void devm_usb_put_phy(struct device *dev, struct usb_phy *phy)
288 r = devres_destroy(dev, devm_usb_phy_release, devm_usb_phy_match, phy); 288 r = devres_destroy(dev, devm_usb_phy_release, devm_usb_phy_match, phy);
289 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n"); 289 dev_WARN_ONCE(dev, r, "couldn't find PHY resource\n");
290} 290}
291EXPORT_SYMBOL(devm_usb_put_phy); 291EXPORT_SYMBOL_GPL(devm_usb_put_phy);
292 292
293/** 293/**
294 * usb_put_phy - release the USB PHY 294 * usb_put_phy - release the USB PHY
@@ -307,7 +307,7 @@ void usb_put_phy(struct usb_phy *x)
307 module_put(owner); 307 module_put(owner);
308 } 308 }
309} 309}
310EXPORT_SYMBOL(usb_put_phy); 310EXPORT_SYMBOL_GPL(usb_put_phy);
311 311
312/** 312/**
313 * usb_add_phy - declare the USB PHY 313 * usb_add_phy - declare the USB PHY
@@ -347,7 +347,7 @@ out:
347 spin_unlock_irqrestore(&phy_lock, flags); 347 spin_unlock_irqrestore(&phy_lock, flags);
348 return ret; 348 return ret;
349} 349}
350EXPORT_SYMBOL(usb_add_phy); 350EXPORT_SYMBOL_GPL(usb_add_phy);
351 351
352/** 352/**
353 * usb_add_phy_dev - declare the USB PHY 353 * usb_add_phy_dev - declare the USB PHY
@@ -377,7 +377,7 @@ int usb_add_phy_dev(struct usb_phy *x)
377 spin_unlock_irqrestore(&phy_lock, flags); 377 spin_unlock_irqrestore(&phy_lock, flags);
378 return 0; 378 return 0;
379} 379}
380EXPORT_SYMBOL(usb_add_phy_dev); 380EXPORT_SYMBOL_GPL(usb_add_phy_dev);
381 381
382/** 382/**
383 * usb_remove_phy - remove the OTG PHY 383 * usb_remove_phy - remove the OTG PHY
@@ -399,7 +399,7 @@ void usb_remove_phy(struct usb_phy *x)
399 } 399 }
400 spin_unlock_irqrestore(&phy_lock, flags); 400 spin_unlock_irqrestore(&phy_lock, flags);
401} 401}
402EXPORT_SYMBOL(usb_remove_phy); 402EXPORT_SYMBOL_GPL(usb_remove_phy);
403 403
404/** 404/**
405 * usb_bind_phy - bind the phy and the controller that uses the phy 405 * usb_bind_phy - bind the phy and the controller that uses the phy