Re: [rtc-linux] [PATCH 2/6] mfd: max77620: add core driver for MAX77620/MAX20024
From: Krzysztof Kozlowski <hidden>
Date: 2016-01-08 13:32:40
Also in:
linux-devicetree, linux-rtc, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2016-01-08 13:32:40
Also in:
linux-devicetree, linux-rtc, lkml
2016-01-08 22:19 GMT+09:00 Laxman Dewangan [off-list ref]:
On Friday 08 January 2016 06:44 PM, Krzysztof Kozlowski wrote:quoted
To avoid compilation warning, I need to use inline here. Because this shouldn't be defined in header at the first place. Instead define it in main MFD driver with EXPORT_SYMBOL() and put in headers just declaration.what about __maybe_unused instead on inline and keep in header. Anyhow, I do not have any personal choice here.
This just shouldn't be defined in header because that makes it spreading over many object files. There are just no benefits. Best regards, Krzysztof