mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
treewide: Use OF_REAL instead of !OF_PLATDATA
Now that we have a 'positive' Kconfig option, use this instead of the negative one, which is harder to understand. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -193,7 +193,7 @@ static int conv_of_plat(struct udevice *dev)
|
||||
|
||||
static int rockchip_spi_of_to_plat(struct udevice *bus)
|
||||
{
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
#if CONFIG_IS_ENABLED(OF_REAL)
|
||||
struct rockchip_spi_plat *plat = dev_get_plat(bus);
|
||||
struct rockchip_spi_priv *priv = dev_get_priv(bus);
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user