1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Industrial I/O in kernel access map interface.
5 * Copyright (c) 2011 Jonathan Cameron
15 * iio_map_array_register() - tell the core about inkernel consumers
16 * @indio_dev: provider device
17 * @map: array of mappings specifying association of channel with client
19 int iio_map_array_register(struct iio_dev *indio_dev,
23 * iio_map_array_unregister() - tell the core to remove consumer mappings for
24 * the given provider device
25 * @indio_dev: provider device
27 int iio_map_array_unregister(struct iio_dev *indio_dev);