diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c index 655809579fd0..b906d4eae4e9 100644 --- a/sys/powerpc/powermac/ata_kauai.c +++ b/sys/powerpc/powermac/ata_kauai.c @@ -90,10 +90,11 @@ static driver_t ata_kauai_driver = { DRIVER_MODULE(ata, pci, ata_kauai_driver, ata_devclass, 0, 0); -static void +static int ata_kauai_locknoop(struct ata_channel *ch, int type) { /* XXX SMP ? */ + return (0); } static void diff --git a/sys/powerpc/powermac/ata_macio.c b/sys/powerpc/powermac/ata_macio.c index 5fb2865b168d..992c254fa65c 100644 --- a/sys/powerpc/powermac/ata_macio.c +++ b/sys/powerpc/powermac/ata_macio.c @@ -80,10 +80,11 @@ static driver_t ata_macio_driver = { DRIVER_MODULE(ata, macio, ata_macio_driver, ata_devclass, 0, 0); -static void +static int ata_macio_locknoop(struct ata_channel *ch, int type) { /* XXX SMP ? */ + return (0); } static void