File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ static const struct class leds_class = {
256256 * Returns the LED device parsed from the phandle specified in the "leds"
257257 * property of a device tree node or a negative error-code on failure.
258258 */
259- struct led_classdev * of_led_get (struct device_node * np , int index )
259+ static struct led_classdev * of_led_get (struct device_node * np , int index )
260260{
261261 struct device * led_dev ;
262262 struct device_node * led_node ;
@@ -270,7 +270,6 @@ struct led_classdev *of_led_get(struct device_node *np, int index)
270270
271271 return led_module_get (led_dev );
272272}
273- EXPORT_SYMBOL_GPL (of_led_get );
274273
275274/**
276275 * led_put() - release a LED device
Original file line number Diff line number Diff line change @@ -294,7 +294,6 @@ void led_remove_lookup(struct led_lookup_data *led_lookup);
294294struct led_classdev * __must_check led_get (struct device * dev , char * con_id );
295295struct led_classdev * __must_check devm_led_get (struct device * dev , char * con_id );
296296
297- extern struct led_classdev * of_led_get (struct device_node * np , int index );
298297extern void led_put (struct led_classdev * led_cdev );
299298struct led_classdev * __must_check devm_of_led_get (struct device * dev ,
300299 int index );
You can’t perform that action at this time.
0 commit comments