drm/linux-core: drmP.h compilation fix
authorMichael Buesch <mb@bu3sch.de>
Fri, 15 Dec 2006 13:24:24 +0000 (14:24 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Sat, 16 Dec 2006 10:27:22 +0000 (11:27 +0100)
commitb3c88d31e1e83458c6125a02b80f2e57ebcf750d
treee008b6581b976b28b03a5c734e627520ca96c1e3
parent38ed67196f4ba891568c5ff66e67ced341696eb9
drm/linux-core: drmP.h compilation fix

I need the following patch to fix compilation of
latest drm/linux-core on my ppc64 machine.

/home/mb/develop/git/drm/linux-core/savage_bci.c: In function ‘savage_driver_firstopen’:
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: ‘DRM_MTRR_WC’ undeclared (first use in this function)
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: (Each undeclared identifier is reported only once
/home/mb/develop/git/drm/linux-core/savage_bci.c:587: error: for each function it appears in.)
/home/mb/develop/git/drm/linux-core/savage_bci.c: In function ‘savage_driver_lastclose’:
/home/mb/develop/git/drm/linux-core/savage_bci.c:664: error: ‘DRM_MTRR_WC’ undeclared (first use in this function)

I looked at in-kernel drmP.h and it actually
has the same fix in it.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
linux-core/drmP.h