]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: fix implicit notifier use in converting to export.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 19:15:09 +0000 (15:15 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 03:43:17 +0000 (23:43 -0400)
commit629489454e45647643e2e59bb5a14e5cb9f3a755
treebfc98a60c9c834902b00a5a2dbf42bf0cb9bf82b
parentb1ad2ec584ceb5094264290d1750d761934fa418
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>
arch/powerpc/platforms/cell/spu_notify.c