Skip to content

Commit 59d60c1

Browse files
legionuslag-linaro
authored andcommitted
mfd: stmpe-spi: Correct the name used in MODULE_DEVICE_TABLE
The name used in the macro does not exist. drivers/mfd/stmpe-spi.c:132:26: error: use of undeclared identifier 'stmpe_id' 132 | MODULE_DEVICE_TABLE(spi, stmpe_id); Fixes: e789995 ("mfd: Add support for STMPE SPI interface") Signed-off-by: Alexey Gladkov <legion@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/79d5a847303e45a46098f2d827d3d8a249a32be3.1745591072.git.legion@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 401c16f commit 59d60c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/stmpe-spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static const struct spi_device_id stmpe_spi_id[] = {
129129
{ "stmpe2403", STMPE2403 },
130130
{ }
131131
};
132-
MODULE_DEVICE_TABLE(spi, stmpe_id);
132+
MODULE_DEVICE_TABLE(spi, stmpe_spi_id);
133133

134134
static struct spi_driver stmpe_spi_driver = {
135135
.driver = {

0 commit comments

Comments
 (0)