]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/core/uclass.c
dm: core: remove type 'static' of function uclass_get_device_tail()
[karo-tx-uboot.git] / drivers / core / uclass.c
index c1ebee77f01191a80d708fb0feb30b1f87a7e940..7627ad141b5ef68abbd2fdf4212d9a97b09565a5 100644 (file)
@@ -263,17 +263,7 @@ static int uclass_find_device_by_of_offset(enum uclass_id id, int node,
        return -ENODEV;
 }
 
-/**
- * uclass_get_device_tail() - handle the end of a get_device call
- *
- * This handles returning an error or probing a device as needed.
- *
- * @dev: Device that needs to be probed
- * @ret: Error to return. If non-zero then the device is not probed
- * @devp: Returns the value of 'dev' if there is no error
- * @return ret, if non-zero, else the result of the device_probe() call
- */
-static int uclass_get_device_tail(struct udevice *dev, int ret,
+int uclass_get_device_tail(struct udevice *dev, int ret,
                                  struct udevice **devp)
 {
        if (ret)