mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
serial: Replace CONFIG_ with CONFIG_IS_ENABLED
Cosmetic change, replace CONFIG_* with CONFIG_IS_ENABLED(*) . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
974147b437
commit
5c44ddcb13
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ static int sh_serial_getc_generic(struct uart_port *port)
|
|||
return ch;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DM_SERIAL
|
||||
#if CONFIG_IS_ENABLED(DM_SERIAL)
|
||||
|
||||
static int sh_serial_pending(struct udevice *dev, bool input)
|
||||
{
|
||||
|
@ -204,7 +204,7 @@ static const struct dm_serial_ops sh_serial_ops = {
|
|||
.setbrg = sh_serial_setbrg,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_OF_CONTROL
|
||||
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
static const struct udevice_id sh_serial_id[] ={
|
||||
{.compatible = "renesas,sci", .data = PORT_SCI},
|
||||
{.compatible = "renesas,scif", .data = PORT_SCIF},
|
||||
|
|
Loading…
Reference in a new issue