diff options
| author | Arnd Bergmann <[email protected]> | 2018-01-15 16:10:33 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2018-02-19 16:43:50 +0000 |
| commit | 20e6bb17facdc2a078baa12136910bab2c315519 (patch) | |
| tree | e3b668e382fce8d0103e9e7ea4d94b08b145de5a /lib/mpi/mpiutil.c | |
| parent | Linux 4.16-rc2 (diff) | |
| download | kernel-20e6bb17facdc2a078baa12136910bab2c315519.tar.gz kernel-20e6bb17facdc2a078baa12136910bab2c315519.zip | |
watchdog: rave-sp: add NVMEM dependency
We can build this driver with or without NVMEM, but not built-in
when NVMEM is a loadable module:
drivers/watchdog/rave-sp-wdt.o: In function `rave_sp_wdt_probe':
rave-sp-wdt.c:(.text+0x27c): undefined reference to `nvmem_cell_get'
rave-sp-wdt.c:(.text+0x290): undefined reference to `nvmem_cell_read'
rave-sp-wdt.c:(.text+0x2c4): undefined reference to `nvmem_cell_put'
This adds a Kconfig dependency to enforce that.
Fixes: c3bb33345721 ("watchdog: Add RAVE SP watchdog driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
