Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging:iio:dac:ad5791: Add id entry for the ad5790

The ad5790 has a binary compatible interface to ad5791, so we just have to add
an entry to the drivers device table to add support for it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Lars-Peter Clausen and committed by
Greg Kroah-Hartman
9d41c5bb 036f4195

+6 -4
+2 -2
drivers/staging/iio/dac/Kconfig
··· 86 86 module will be called ad5764. 87 87 88 88 config AD5791 89 - tristate "Analog Devices AD5760/AD5780/AD5781/AD5791 DAC SPI driver" 89 + tristate "Analog Devices AD5760/AD5780/AD5781/AD5790/AD5791 DAC SPI driver" 90 90 depends on SPI 91 91 help 92 92 Say yes here to build support for Analog Devices AD5760, AD5780, 93 - AD5781, AD5791 High Resolution Voltage Output Digital to 93 + AD5781, AD5790, AD5791 High Resolution Voltage Output Digital to 94 94 Analog Converter. 95 95 96 96 To compile this driver as a module, choose M here: the
+4 -2
drivers/staging/iio/dac/ad5791.c
··· 1 1 /* 2 - * AD5760, AD5780, AD5781, AD5791 Voltage Output Digital to Analog Converter 2 + * AD5760, AD5780, AD5781, AD5790, AD5791 Voltage Output Digital to Analog 3 + * Converter 3 4 * 4 5 * Copyright 2011 Analog Devices Inc. 5 6 * ··· 398 397 {"ad5760", ID_AD5760}, 399 398 {"ad5780", ID_AD5780}, 400 399 {"ad5781", ID_AD5781}, 400 + {"ad5790", ID_AD5791}, 401 401 {"ad5791", ID_AD5791}, 402 402 {} 403 403 }; ··· 427 425 module_exit(ad5791_spi_exit); 428 426 429 427 MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 430 - MODULE_DESCRIPTION("Analog Devices AD5760/AD5780/AD5781/AD5791 DAC"); 428 + MODULE_DESCRIPTION("Analog Devices AD5760/AD5780/AD5781/AD5790/AD5791 DAC"); 431 429 MODULE_LICENSE("GPL v2");