diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/core/uclass.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index d9c5719a87..9766aeabd1 100644 --- a/drivers/core/uclass.c +++ b/drivers/core/uclass.c @@ -354,10 +354,8 @@ done: } #if CONFIG_IS_ENABLED(OF_CONTROL) -static int uclass_find_device_by_phandle(enum uclass_id id, - struct udevice *parent, - const char *name, - struct udevice **devp) +int uclass_find_device_by_phandle(enum uclass_id id, struct udevice *parent, + const char *name, struct udevice **devp) { struct udevice *dev; struct uclass *uc; |