1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2019, Linaro Limited
6 #define LOG_CATEGORY UCLASS_RNG
12 int dm_rng_read(struct udevice *dev, void *buffer, size_t size)
14 const struct dm_rng_ops *ops = device_get_ops(dev);
19 return ops->read(dev, buffer, size);
22 UCLASS_DRIVER(rng) = {