diff options
author | 2021-02-10 16:49:08 +0100 | |
---|---|---|
committer | 2021-02-10 22:26:04 +0100 | |
commit | ce79aecf608469b8b8e422928e6fca50b6ca7133 (patch) | |
tree | 038c1107308057e90c7c2e2ef22d99c0e9ddfef5 /include/media | |
parent | media: i2c: Kconfig: Make MAX9271 a module (diff) | |
download | linux-ce79aecf608469b8b8e422928e6fca50b6ca7133.tar.gz linux-ce79aecf608469b8b8e422928e6fca50b6ca7133.tar.bz2 linux-ce79aecf608469b8b8e422928e6fca50b6ca7133.zip |
media: i2c: max9271: Add MODULE_* macros
Since commit 7f03d9fefcc5 ("media: i2c: Kconfig: Make MAX9271
a module") the max9271 library is built as a module but no
MODULE_*() attributes were specified, causing a build error
due to missing license information.
ERROR: modpost: missing MODULE_LICENSE() in drivers/media/i2c/max9271.o
Fix this by adding MODULE attributes to the driver.
Fixes: 7f03d9fefcc5 ("media: i2c: Kconfig: Make MAX9271 a module")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions