Skip to content

Commit a146ecc

Browse files
bulwahnjic23
authored andcommitted
iio: dac: build ad5758 driver when AD5758 is selected
Commit 28d1a7a ("iio: dac: Add AD5758 support") adds the config AD5758 and the corresponding driver ad5758.c. In the Makefile, the ad5758 driver is however included when AD5755 is selected, not when AD5758 is selected. Probably, this was simply a mistake that happened by copy-and-paste and forgetting to adjust the actual line. Surprisingly, no one has ever noticed that this driver is actually only included when AD5755 is selected and that the config AD5758 has actually no effect on the build. Fixes: 28d1a7a ("iio: dac: Add AD5758 support") Signed-off-by: Lukas Bulwahn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 24febc9 commit a146ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/dac/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ obj-$(CONFIG_AD5592R_BASE) += ad5592r-base.o
1717
obj-$(CONFIG_AD5592R) += ad5592r.o
1818
obj-$(CONFIG_AD5593R) += ad5593r.o
1919
obj-$(CONFIG_AD5755) += ad5755.o
20-
obj-$(CONFIG_AD5755) += ad5758.o
20+
obj-$(CONFIG_AD5758) += ad5758.o
2121
obj-$(CONFIG_AD5761) += ad5761.o
2222
obj-$(CONFIG_AD5764) += ad5764.o
2323
obj-$(CONFIG_AD5766) += ad5766.o

0 commit comments

Comments
 (0)