Message ID | 20170608090156.2373326-1-arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jun 08, 2017 at 11:01:37AM +0200, Arnd Bergmann wrote: > This one got applied twice, causing a build error with clang: > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition of '__mod_of__et8ek8_of_table_device_table' > > Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
On Thu 2017-06-08 11:01:37, Arnd Bergmann wrote: > This one got applied twice, causing a build error with clang: > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition of '__mod_of__et8ek8_of_table_device_table' > > Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Pavel Machek <pavel@ucw.cz>
Hi Mauro, Just hit this issue too. This seems not to have made it into v4.13 as of today yet, any chance to get it still in? -- Stefan On 2017-06-08 02:01, Arnd Bergmann wrote: > This one got applied twice, causing a build error with clang: > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition > of '__mod_of__et8ek8_of_table_device_table' > > Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> > Acked-by: Pavel Machek <pavel@ucw.cz> > --- > drivers/media/i2c/et8ek8/et8ek8_driver.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/i2c/et8ek8/et8ek8_driver.c > b/drivers/media/i2c/et8ek8/et8ek8_driver.c > index 6e313d5243a0..f39f5179dd95 100644 > --- a/drivers/media/i2c/et8ek8/et8ek8_driver.c > +++ b/drivers/media/i2c/et8ek8/et8ek8_driver.c > @@ -1496,7 +1496,6 @@ MODULE_DEVICE_TABLE(i2c, et8ek8_id_table); > static const struct dev_pm_ops et8ek8_pm_ops = { > SET_SYSTEM_SLEEP_PM_OPS(et8ek8_suspend, et8ek8_resume) > }; > -MODULE_DEVICE_TABLE(of, et8ek8_of_table); > > static struct i2c_driver et8ek8_i2c_driver = { > .driver = {
Hi! > Just hit this issue too. This seems not to have made it into v4.13 as of > today yet, any chance to get it still in? If Mauro does not react, I guess we can push the patche through akpm. Hmm. Or directly to the Linus. -rc really is about fixing regressions, such as this. Best regards, Pavel > -- > Stefan > > On 2017-06-08 02:01, Arnd Bergmann wrote: > > This one got applied twice, causing a build error with clang: > > > > drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition > > of '__mod_of__et8ek8_of_table_device_table' > > > > Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> > > Acked-by: Pavel Machek <pavel@ucw.cz> > > --- > > drivers/media/i2c/et8ek8/et8ek8_driver.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/media/i2c/et8ek8/et8ek8_driver.c > > b/drivers/media/i2c/et8ek8/et8ek8_driver.c > > index 6e313d5243a0..f39f5179dd95 100644 > > --- a/drivers/media/i2c/et8ek8/et8ek8_driver.c > > +++ b/drivers/media/i2c/et8ek8/et8ek8_driver.c > > @@ -1496,7 +1496,6 @@ MODULE_DEVICE_TABLE(i2c, et8ek8_id_table); > > static const struct dev_pm_ops et8ek8_pm_ops = { > > SET_SYSTEM_SLEEP_PM_OPS(et8ek8_suspend, et8ek8_resume) > > }; > > -MODULE_DEVICE_TABLE(of, et8ek8_of_table); > > > > static struct i2c_driver et8ek8_i2c_driver = { > > .driver = {
diff --git a/drivers/media/i2c/et8ek8/et8ek8_driver.c b/drivers/media/i2c/et8ek8/et8ek8_driver.c index 6e313d5243a0..f39f5179dd95 100644 --- a/drivers/media/i2c/et8ek8/et8ek8_driver.c +++ b/drivers/media/i2c/et8ek8/et8ek8_driver.c @@ -1496,7 +1496,6 @@ MODULE_DEVICE_TABLE(i2c, et8ek8_id_table); static const struct dev_pm_ops et8ek8_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(et8ek8_suspend, et8ek8_resume) }; -MODULE_DEVICE_TABLE(of, et8ek8_of_table); static struct i2c_driver et8ek8_i2c_driver = { .driver = {
This one got applied twice, causing a build error with clang: drivers/media/i2c/et8ek8/et8ek8_driver.c:1499:1: error: redefinition of '__mod_of__et8ek8_of_table_device_table' Fixes: 9ae05fd1e791 ("[media] et8ek8: Export OF device ID as module aliases") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/media/i2c/et8ek8/et8ek8_driver.c | 1 - 1 file changed, 1 deletion(-)