diff --git a/sys/arch/arm/imx/imx6_ahcisata.c b/sys/arch/arm/imx/imx6_ahcisata.c index 1bd55e420f75..7c09e55d114f 100644 --- a/sys/arch/arm/imx/imx6_ahcisata.c +++ b/sys/arch/arm/imx/imx6_ahcisata.c @@ -1,4 +1,4 @@ -/* $NetBSD: imx6_ahcisata.c,v 1.7 2018/05/23 10:42:05 hkenken Exp $ */ +/* $NetBSD: imx6_ahcisata.c,v 1.8 2018/06/20 05:53:19 hkenken Exp $ */ /* * Copyright (c) 2014 Ryo Shimizu @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: imx6_ahcisata.c,v 1.7 2018/05/23 10:42:05 hkenken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: imx6_ahcisata.c,v 1.8 2018/06/20 05:53:19 hkenken Exp $"); #include "locators.h" #include "opt_imx.h" @@ -59,7 +59,7 @@ static int imx6_ahcisata_match(device_t, cfdata_t, void *); static void imx6_ahcisata_attach(device_t, device_t, void *); static int imx6_ahcisata_detach(device_t, int); -static int ixm6_ahcisata_init(struct imx_ahci_softc *); +static int imx6_ahcisata_init(struct imx_ahci_softc *); static int imx6_ahcisata_phy_ctrl(struct imx_ahci_softc *, uint32_t, int); static int imx6_ahcisata_phy_addr(struct imx_ahci_softc *, uint32_t); static int imx6_ahcisata_phy_write(struct imx_ahci_softc *, uint32_t, uint16_t); @@ -114,7 +114,7 @@ imx6_ahcisata_attach(device_t parent, device_t self, void *aux) return; } - if (ixm6_ahcisata_init(sc) != 0) { + if (imx6_ahcisata_init(sc) != 0) { aprint_error_dev(self, "couldn't init ahci\n"); return; } @@ -257,7 +257,7 @@ imx6_ahcisata_phy_read(struct imx_ahci_softc *sc, uint32_t addr) } static int -ixm6_ahcisata_init(struct imx_ahci_softc *sc) +imx6_ahcisata_init(struct imx_ahci_softc *sc) { uint32_t v; int timeout, pllstat;