summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/kontron')
-rw-r--r--src/mainboard/kontron/986lcd-m/mainboard.c2
-rw-r--r--src/mainboard/kontron/986lcd-m/mptable.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c
index bd50fc33ca..56c9ffae2b 100644
--- a/src/mainboard/kontron/986lcd-m/mainboard.c
+++ b/src/mainboard/kontron/986lcd-m/mainboard.c
@@ -141,7 +141,7 @@ static void mainboard_init(void *chip_info)
continue;
printk(BIOS_DEBUG, "Disabling Ethernet NIC #%d\n", i);
dev = pcidev_on_root(28, i - 1);
- if (dev == NULL) {
+ if (dev == nullptr) {
printk(BIOS_ERR,
"Disabling Ethernet NIC: Cannot find 00:1c.%d!\n",
i - 1);
diff --git a/src/mainboard/kontron/986lcd-m/mptable.c b/src/mainboard/kontron/986lcd-m/mptable.c
index 5ee3288e77..b112ac0ff8 100644
--- a/src/mainboard/kontron/986lcd-m/mptable.c
+++ b/src/mainboard/kontron/986lcd-m/mptable.c
@@ -7,7 +7,7 @@
static void *smp_write_config_table(void *v)
{
struct mp_config_table *mc;
- struct device *riser = NULL, *firewire = NULL;
+ struct device *riser = nullptr, *firewire = nullptr;
int firewire_bus = 0, riser_bus = 0, isa_bus;
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
@@ -30,7 +30,7 @@ static void *smp_write_config_table(void *v)
riser_bus = riser->downstream->secondary;
}
- mptable_write_buses(mc, NULL, &isa_bus);
+ mptable_write_buses(mc, nullptr, &isa_bus);
/* I/O APICs: APIC ID Version State Address */
u8 ioapic_id = smp_write_ioapic_from_hw(mc, IO_APIC_ADDR);