linux-next: build failure after merge of the leds-lj tree
Subsystems (2)
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the leds-lj tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 8 lines
FATAL: modpost:
drivers/leds/leds-pca995x:sizeof(struct i2c_device_id)=32 is not a modulo of the size of section __mod_i2c__<identifier>_device_table=600. Fix definition of structi2c_device_idinmod_devicetable.hPresumably caused by commit
ee4e80b2962e("leds: pca995x: Add support for PCA995X chips")I have reverted that commit for today.
Ah doh, the fix is trivial, proper patch is coming in a bit.
drivers/leds/leds-pca995x.c +1 -1
@@ -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 = {