| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * STMicroelectronics sensors spi library driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2012-2013 STMicroelectronics Inc. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * Licensed under the GPL-2. |
|---|
| 9 | 8 | */ |
|---|
| 10 | 9 | |
|---|
| 11 | 10 | #ifndef ST_SENSORS_SPI_H |
|---|
| .. | .. |
|---|
| 14 | 13 | #include <linux/spi/spi.h> |
|---|
| 15 | 14 | #include <linux/iio/common/st_sensors.h> |
|---|
| 16 | 15 | |
|---|
| 17 | | -void st_sensors_spi_configure(struct iio_dev *indio_dev, |
|---|
| 18 | | - struct spi_device *spi, struct st_sensor_data *sdata); |
|---|
| 16 | +int st_sensors_spi_configure(struct iio_dev *indio_dev, |
|---|
| 17 | + struct spi_device *spi); |
|---|
| 19 | 18 | |
|---|
| 20 | 19 | #endif /* ST_SENSORS_SPI_H */ |
|---|