gpioiic.c (519b64e27fddf10c0b7f6a615edbad730b8c6c45) gpioiic.c (8c13dd83a35b8e4f138ae13480535c6fe76b02d1)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
5 * Copyright (c) 2010 Luiz Otavio O Souza
6 * Copyright (c) 2019 Ian Lepore <ian@freebsd.org>
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 357 unchanged lines hidden (view full) ---

366static driver_t gpioiic_driver = {
367 "gpioiic",
368 gpioiic_methods,
369 sizeof(struct gpioiic_softc),
370};
371
372DRIVER_MODULE(gpioiic, gpiobus, gpioiic_driver, gpioiic_devclass, 0, 0);
373DRIVER_MODULE(gpioiic, simplebus, gpioiic_driver, gpioiic_devclass, 0, 0);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
5 * Copyright (c) 2010 Luiz Otavio O Souza
6 * Copyright (c) 2019 Ian Lepore <ian@freebsd.org>
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 357 unchanged lines hidden (view full) ---

366static driver_t gpioiic_driver = {
367 "gpioiic",
368 gpioiic_methods,
369 sizeof(struct gpioiic_softc),
370};
371
372DRIVER_MODULE(gpioiic, gpiobus, gpioiic_driver, gpioiic_devclass, 0, 0);
373DRIVER_MODULE(gpioiic, simplebus, gpioiic_driver, gpioiic_devclass, 0, 0);
374DRIVER_MODULE(iicbb, gpioiic, iicbb_driver, iicbb_devclass, 0, 0);
374DRIVER_MODULE(iicbb, gpioiic, iicbb_driver, 0, 0);
375MODULE_DEPEND(gpioiic, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
376MODULE_DEPEND(gpioiic, gpiobus, 1, 1, 1);
375MODULE_DEPEND(gpioiic, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
376MODULE_DEPEND(gpioiic, gpiobus, 1, 1, 1);