Commit 179507fc authored by Marek Vasut's avatar Marek Vasut Committed by Lee Jones

leds: pca995x: Fix MODULE_DEVICE_TABLE for OF

Fix copy-paste error in MODULE_DEVICE_TABLE() for the OF table,
use the 'of' first parameter instead of duplicate 'i2c'.

Fixes: ee4e80b2 ("leds: pca995x: Add support for PCA995X chips")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230809125314.531806-1-marex@denx.deSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 84116526
......@@ -187,7 +187,7 @@ static const struct of_device_id pca995x_of_match[] = {
{ .compatible = "nxp,pca9955b", .data = (void *)PCA995X_TYPE_B },
{},
};
MODULE_DEVICE_TABLE(i2c, pca995x_of_match);
MODULE_DEVICE_TABLE(of, pca995x_of_match);
static struct i2c_driver pca995x_driver = {
.driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment