File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ static const struct class leds_class = {
256
256
* Returns the LED device parsed from the phandle specified in the "leds"
257
257
* property of a device tree node or a negative error-code on failure.
258
258
*/
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 )
260
260
{
261
261
struct device * led_dev ;
262
262
struct device_node * led_node ;
@@ -270,7 +270,6 @@ struct led_classdev *of_led_get(struct device_node *np, int index)
270
270
271
271
return led_module_get (led_dev );
272
272
}
273
- EXPORT_SYMBOL_GPL (of_led_get );
274
273
275
274
/**
276
275
* 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);
294
294
struct led_classdev * __must_check led_get (struct device * dev , char * con_id );
295
295
struct led_classdev * __must_check devm_led_get (struct device * dev , char * con_id );
296
296
297
- extern struct led_classdev * of_led_get (struct device_node * np , int index );
298
297
extern void led_put (struct led_classdev * led_cdev );
299
298
struct led_classdev * __must_check devm_of_led_get (struct device * dev ,
300
299
int index );
You can’t perform that action at this time.
0 commit comments