linux-next: build failure after merge of the rtc tree
Hi Alexandre,
After merging the rtc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':drivers/rtc/rtc-ds1307.c:1410:29: error: 'struct ds1307' has no member named 'client'
if (chip->alarm && (ds1307->client->irq > 0 ||
^
Caused by commit
345b89453dda ("rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ")
interacting with commit
11e5890b5342 ("rtc: ds1307: convert driver to regmap")
I have used the rtc tree from next-20170530 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Am 31.05.2017 um 06:33 schrieb Stephen Rothwell:
Quoted 9 lines
Hi Alexandre,
After merging the rtc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':drivers/rtc/rtc-ds1307.c:1410:29: error: 'struct ds1307' has no member named 'client'
if (chip->alarm&& (ds1307->client->irq> 0 ||^
ds1307->client->irq would have to be replaced with ds1307->irq. Same what the regmap patch does e.g. at line 1477. The regmap patch removes member client from struct ds1307.
Rgds, Heiner
Quoted 11 lines
Caused by commit
345b89453dda("rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ")interacting with commit
11e5890b5342("rtc: ds1307: convert driver to regmap")I have used the rtc tree from next-20170530 for today.
Hi,
Quoted 6 lines · Heiner Kallweit
Am 31.05.2017 um 06:33 schrieb Stephen Rothwell:
Quoted 5 lines
Hi Alexandre,
After merging the rtc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
Quoted 8 lines
Quoted 4 lines
drivers/rtc/rtc-ds1307.c: In function 'ds1307_probe':drivers/rtc/rtc-ds1307.c:1410:29: error: 'struct ds1307' has no member named 'client'
if (chip->alarm&& (ds1307->client->irq> 0 ||^
ds1307->client->irqwould have to be replaced withds1307->irq. Same what the regmap patch does e.g. at line 1477. The regmap patch removes member client from struct ds1307.
Yep, I did that. I actually forgot to push after fixing it up... Sorry about that!
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com