boredos_mirror/src/drivers/I2C/acpi_i2c.h
Myles "Mellurboo" Wilson baafbc9630 updated copyright notices
bit of a hastle on my end, still getting used to being this cool
2026-05-14 01:11:15 +01:00

20 lines
No EOL
516 B
C

// Copyright (c) 2026 Myles Wilson (myles@bleedkernel.com)
// This software is released under the GNU General Public License v3.0. See LICENSE file for details.
// This header needs to maintain in any file it is present in, as per the GPL license terms.
#ifndef ACPI_I2C_H
#define ACPI_I2C_H
#include <stdint.h>
#include <stddef.h>
#include "../ACPI/acpi_aml.h"
#define ACPI_I2C_MAX_DEVICES 32
int acpi_i2c_enumerate(void);
size_t acpi_i2c_count(void);
const aml_i2c_dev_t *acpi_i2c_get(size_t index);
#endif