diff options
author | Arnd Bergmann <[email protected]> | 2017-07-10 13:22:50 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2017-07-10 14:27:39 +0200 |
commit | 42a6e0996084972574e0a2b23e7326b78b0f64c5 (patch) | |
tree | 4eeed87363b8319dc98b0ce805ecc931f1a0751e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | f4b82d39e40fc9c3493826abb49c64c37c7025b9 (diff) |
nvmem: include linux/err.h from header
The new support for nvmem devices from the rtc layer caused a build
error in some configurations:
include/linux/nvmem-provider.h: In function 'nvmem_register':
include/linux/nvmem-provider.h:51:9: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration]
This adds the missing include to ensure we can always include
the header.
Fixes: 697e5a47aa12 ("rtc: add generic nvmem support")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions