[PATCH] vesafb: Fix return code of vesafb_setcolreg
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 26 Jun 2006 07:26:40 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:30 +0000 (09:58 -0700)
commit313ca22f0bfab792adeb447146d9cb86536c64d3
tree2a8855eec50beef14a6a4e4ea122cae3e16c9c4f
parentf71689e4139a91c98cc476240aca40bd091d4538
[PATCH] vesafb: Fix return code of vesafb_setcolreg

If the hardware palette cannot be accessed, make vesafb_setcolreg return a
nonzero value.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/vesafb.c