powerpc: pseries/dtl.c should include asm/firmware.h
authorSachin Sant <sachinp@in.ibm.com>
Tue, 14 Apr 2009 14:35:55 +0000 (14:35 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 15 Apr 2009 05:23:55 +0000 (15:23 +1000)
commitb71a0c296cee4debaf446760fbd29ead1587a7ac
tree18321db861d14a585ef653130af4b7fb4921c712
parent306a82881b14d950d59e0b59a55093a07d82aa9a
powerpc: pseries/dtl.c should include asm/firmware.h

A randconfig build on powerpc failed with:

dtl.c: In function 'dtl_init':
dtl.c:238: error: implicit declaration of function 'firmware_has_feature'
dtl.c:238: error: 'FW_FEATURE_SPLPAR' undeclared (first use in this function)

- We need firmware.h for these definitions.

Signed-off-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/dtl.c