On 09/10/13 13:49, Lee Jones wrote:
> Trivial patch adding the LSM303DLH to the list of already supported
> Magnetometer Sensors.
> 
> Signed-off-by: Lee Jones <[email protected]>
err.
> index 12e7e79..b2e2917 100644
> --- a/drivers/iio/magnetometer/st_magn_core.c
> +++ b/drivers/iio/magnetometer/st_magn_core.c
> @@ -151,7 +151,8 @@ static const struct st_sensors st_magn_sensors[] = {
>               .wai = ST_MAGN_1_WAI_EXP,
>               .sensors_supported = {
>                       [0] = LSM303DLHC_MAGN_DEV_NAME,
> -                     [1] = LSM303DLM_MAGN_DEV_NAME,
> +                     [1] = LSM303DLH_MAGN_DEV_NAME,
> +                     [0] = LSM303DLM_MAGN_DEV_NAME,
[2]?
>               },
>               .ch = (struct iio_chan_spec *)st_magn_16bit_channels,
>               .odr = {
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to