Re: [PATCH v2 4/4] iio: imu: inv_mpu6050: Add SPI support for MPU6000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/04/2016 10:20 AM, Adriana Reus wrote:
[...]
> +config INV_MPU6050_SPI
> +	tristate "Invensense MPU6050 devices"

depends on SPI_MASTER

> +	select INV_MPU6050_IIO
> +	select REGMAP_SPI
> +	help
> +	  This driver can be built as a module. The module will be called
> +	  inv-mpu6050-spi.
[...]
[...]
> +static struct spi_driver inv_mpu_driver = {
> +	.probe		=	inv_mpu_probe,
> +	.remove		=	inv_mpu_remove,
> +	.id_table	=	inv_mpu_id,
> +	.driver = {
> +		.owner	=	THIS_MODULE,

Drop the owner field that should no longer be necessary.

> +		.acpi_match_table = ACPI_PTR(inv_acpi_match),
> +		.name	=	"inv-mpu6000 spi driver",
> +		.pm     =       &inv_mpu_pmops,
> +	},
> +};

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux