diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-12-21 15:47:49 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-12-21 16:11:55 +0100 |
commit | 598980d33e264a9b49702f84a7c061272ee59853 (patch) | |
tree | 9e10d62a9deede83cae5a00bcd608056897dc5a8 | |
parent | 1c252efcfc48a644296e1931bf66d46525d7784e (diff) |
backport: do not call coredump when it was not build
When coredump was included in the kernel backports is build against
then it could be that the prototype are used, which caused a undefined
references linking problem. This patch fixes the problem by only using
this when the driver is actually compiled in.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/compat/backports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/compat/backports.h b/backport/compat/backports.h index 323c9087..ccc8972b 100644 --- a/backport/compat/backports.h +++ b/backport/compat/backports.h @@ -13,7 +13,7 @@ static inline void crypto_ccm_module_exit(void) {} #endif -#ifdef CPTCFG_BPAUTO_WANT_DEV_COREDUMP +#ifdef CPTCFG_BPAUTO_BUILD_WANT_DEV_COREDUMP int devcoredump_init(void); void devcoredump_exit(void); #else |