diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-22 15:15:09 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:41 -0400 |
commit | 2a7156b9e8829e285a0ca02d05fb0f1945d131ce (patch) | |
tree | 14785a199bf2fcb22397fb7dce192791a6335109 | |
parent | 08f1e55cc70141fa5c3634043ba333f4734e7e04 (diff) | |
download | linux-3.10-2a7156b9e8829e285a0ca02d05fb0f1945d131ce.tar.gz linux-3.10-2a7156b9e8829e285a0ca02d05fb0f1945d131ce.tar.bz2 linux-3.10-2a7156b9e8829e285a0ca02d05fb0f1945d131ce.zip |
powerpc: fix implicit notifier use in converting to export.h
We can convert this file to using export.h since it only wants
to export symbols, but when we do we'll see also that it was
implicitly getting notifier.h from module.h via this failure:
CC arch/powerpc/platforms/cell/spu_notify.o
arch/powerpc/platforms/cell/spu_notify.c:28: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD'
arch/powerpc/platforms/cell/spu_notify.c:28: warning: parameter names (without types) in function declaration
arch/powerpc/platforms/cell/spu_notify.c: In function 'spu_switch_notify':
arch/powerpc/platforms/cell/spu_notify.c:32: error: implicit declaration of function 'blocking_notifier_call_chain'
arch/powerpc/platforms/cell/spu_notify.c:32: error: 'spu_switch_notifier' undeclared (first use in this function)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | arch/powerpc/platforms/cell/spu_notify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spu_notify.c b/arch/powerpc/platforms/cell/spu_notify.c index 34d156959f3..afdf857c318 100644 --- a/arch/powerpc/platforms/cell/spu_notify.c +++ b/arch/powerpc/platforms/cell/spu_notify.c @@ -21,7 +21,8 @@ #undef DEBUG -#include <linux/module.h> +#include <linux/export.h> +#include <linux/notifier.h> #include <asm/spu.h> #include "spufs/spufs.h" |