diff options
author | Liam Beguin <[email protected]> | 2022-06-01 10:21:38 -0400 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-06-19 17:22:49 +0100 |
commit | 7a2f6f61e8ee016b75e1b1dd62fbd03e6d6db37d (patch) | |
tree | 79cc1f5561e5699229b96159d9905a005f891eed /drivers/usb/cdns3/cdns3-trace.c | |
parent | 10b9c2c33ac706face458feab8965f11743c98c0 (diff) |
iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m
When IIO_RESCALE_KUNIT_TEST=y and IIO_RESCALE=m,
drivers/iio/afe/iio-rescale.o is built twice causing the
MODULE_LICENSE() to be lost, as shown by:
ERROR: modpost: missing MODULE_LICENSE() in drivers/iio/afe/iio-rescale.o
Rework the build configuration to have the dependency specified in the
Kconfig.
Reported-by: Randy Dunlap <[email protected]>
Fixes: 8e74a48d17d5 ("iio: test: add basic tests for the iio-rescale driver")
Signed-off-by: Liam Beguin <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Reviewed-by: Masahiro Yamada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions