ram: ramdisk_ro: add u-boot device definition

In order not to add the device info in dts.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I334c2c99a71476545f311d26b32d7954ca8d8dfd
This commit is contained in:
Joseph Chen 2020-04-26 15:00:09 +08:00
parent aedeb70ba0
commit 5d45852261
1 changed files with 4 additions and 0 deletions

View File

@ -63,3 +63,7 @@ U_BOOT_DRIVER(ramdisk_ro) = {
.of_match = ramdisk_ro_ids,
.bind = ramdisk_ro_bind,
};
U_BOOT_DEVICE(ramdisk_ro) = {
.name = "ramdisk-ro",
};