diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-18 06:49:48 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-18 06:49:48 +0000 |
commit | aa90a55ace7d39eb0841b18bcea4635518cb4a49 (patch) | |
tree | 6b87749a8cb3059f54ecf38a70817ff4e3866ce7 /sys/dev/acpi/dwiic_acpi.c | |
parent | e30be8cc2472920a9728be53d98c879bc32b4f6c (diff) |
This needs some #ifndef SMALL_KERNEL as well. Fixes RAMDISK_CD.
Diffstat (limited to 'sys/dev/acpi/dwiic_acpi.c')
-rw-r--r-- | sys/dev/acpi/dwiic_acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/dwiic_acpi.c b/sys/dev/acpi/dwiic_acpi.c index c668053b865..73ba53dddb5 100644 --- a/sys/dev/acpi/dwiic_acpi.c +++ b/sys/dev/acpi/dwiic_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwiic_acpi.c,v 1.4 2018/05/17 20:21:15 kettenis Exp $ */ +/* $OpenBSD: dwiic_acpi.c,v 1.5 2018/05/18 06:49:47 kettenis Exp $ */ /* * Synopsys DesignWare I2C controller * @@ -193,8 +193,10 @@ dwiic_acpi_attach(struct device *parent, struct device *self, void *aux) config_found((struct device *)sc, &sc->sc_iba, iicbus_print); +#ifndef SMALL_KERNEL sc->sc_devnode->i2c = &sc->sc_i2c_tag; acpi_register_gsb(sc->sc_acpi, sc->sc_devnode); +#endif return; } |