[PATCH 0/6] drivers/iio: Constify structs

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

 



Constify a number of static structs to allow the compiler to put them in
read-only memory. The patches are independent.

Rikard Falkeborn (6):
  iio: adc: max11100: Constify struct iio_chan_spec
  iio: dac: ad5380: Constify struct iio_chan_spec_ext_info
  iio: dac: ad5592r-base: Constify struct iio_chan_spec_ext_info
  iio: dac: ad5686: Constify static struct iio_chan_spec
  iio: light: stk3310: Constify regmap_config
  iio: magnetometer: mmc35240: Constify struct reg_default

 drivers/iio/adc/max11100.c          | 2 +-
 drivers/iio/dac/ad5380.c            | 2 +-
 drivers/iio/dac/ad5592r-base.c      | 2 +-
 drivers/iio/dac/ad5686.c            | 8 ++++----
 drivers/iio/dac/ad5686.h            | 2 +-
 drivers/iio/light/stk3310.c         | 2 +-
 drivers/iio/magnetometer/mmc35240.c | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.26.2




[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