]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/serial/serial_uniphier.c
of: clean up OF_CONTROL ifdef conditionals
[people/ms/u-boot.git] / drivers / serial / serial_uniphier.c
index f21098607862062782bc61fc1fb9f234747ef582..abf362a8458512e4c627d929dd0af79fe5032ded 100644 (file)
@@ -113,7 +113,7 @@ static int uniphier_serial_remove(struct udevice *dev)
        return 0;
 }
 
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct udevice_id uniphier_uart_of_match[] = {
        { .compatible = "socionext,uniphier-uart" },
        { /* sentinel */ }