]> err.no Git - linux-2.6/commit
[PATCH] Fix build-failure in drivers/video/s3fb.c
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 22 Feb 2007 16:00:41 +0000 (17:00 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 20:56:46 +0000 (12:56 -0800)
commit62fa4dc7f782911b7b3867b6360892dcd46d8e69
tree641c7bdafdf081907fa0a6f9a3bf065d22eb1a1a
parent25165120f2432ffa36518d53bd3ec66f6e434f63
[PATCH] Fix build-failure in drivers/video/s3fb.c

Toralf Förster pointed out that drivers/video/s3fb.c would fail to compile:
> ...
>   CC      drivers/video/s3fb.o
> drivers/video/s3fb.c: In function `s3_pci_remove':
> drivers/video/s3fb.c:1003: warning: unused variable `par'
> drivers/video/s3fb.c: In function `s3fb_setup':
> drivers/video/s3fb.c:1141: error: `mtrr' undeclared (first use in this function)
> drivers/video/s3fb.c:1141: error: (Each undeclared identifier is reported only once
> drivers/video/s3fb.c:1141: error: for each function it appears in.)
> make[2]: *** [drivers/video/s3fb.o] Error 1
> make[1]: *** [drivers/video] Error 2
> make: *** [drivers] Error 2

Here is fix, it also fixes broken boot options.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s3fb.c