1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2023, Ideas on Board * * Android libhardware stub for test compilation */ #include <errno.h> #include <hardware/hardware.h> int hw_get_module(const char *id __attribute__((__unused__)), const struct hw_module_t **module) { *module = NULL; return -ENOTSUP; }