mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
regmap: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-ac97.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-ram.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-raw-ram.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-slimbus.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-spmi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-w1.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-sccb.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/base/regmap/regmap-spi-avmm.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://patch.msgid.link/20240603-md-base-regmap-v1-1-ff7a2e5f990f@quicinc.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
5a31243aa2
commit
92955a25f7
@ -86,4 +86,5 @@ struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_ac97);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - AC'97 support");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -83,4 +83,5 @@ struct regmap *__regmap_init_ram(struct device *dev,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__regmap_init_ram);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - Memory region");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -142,4 +142,5 @@ struct regmap *__regmap_init_raw_ram(struct device *dev,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__regmap_init_raw_ram);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - Memory region with raw access");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -125,4 +125,5 @@ struct regmap *__devm_regmap_init_sccb(struct i2c_client *i2c,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_sccb);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - SCCB support");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -68,4 +68,5 @@ struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_slimbus);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - SLIMbus support");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -710,4 +710,5 @@ struct regmap *__devm_regmap_init_spi_avmm(struct spi_device *spi,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_spi_avmm);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - SPI AVMM support");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -222,4 +222,5 @@ struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *sdev,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_spmi_ext);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - SPMI support");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -234,4 +234,5 @@ struct regmap *__devm_regmap_init_w1(struct device *w1_dev,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__devm_regmap_init_w1);
|
||||
|
||||
MODULE_DESCRIPTION("Register map access API - W1 (1-Wire) support");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user