Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1c2bbe6a11ec7d1de114acfc8a6bf2821b0224a5
Commit:     1c2bbe6a11ec7d1de114acfc8a6bf2821b0224a5
Parent:     2707cd016b12d5e64c4feefcb5740b65f0c46845
Author:     Jan Engelhardt <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:38:03 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:27 2007 -0700

    vt: allow for the palette to be exposed and changed via sysfs
    
    Allow for the palette to be exposed and changed via sysfs.  A call to
    /usr/bin/reset will slurp the new definitions in for the current console.
    
    Already posted at http://lkml.org/lkml/2006/1/15/149
    
    Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/char/vt.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index afd0046..4ef9a28 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -934,6 +934,10 @@ int default_grn[] = 
{0x00,0x00,0xaa,0x55,0x00,0x00,0xaa,0xaa,
 int default_blu[] = {0x00,0x00,0x00,0x00,0xaa,0xaa,0xaa,0xaa,
     0x55,0x55,0x55,0x55,0xff,0xff,0xff,0xff};
 
+module_param_array(default_red, int, NULL, S_IRUGO | S_IWUSR);
+module_param_array(default_grn, int, NULL, S_IRUGO | S_IWUSR);
+module_param_array(default_blu, int, NULL, S_IRUGO | S_IWUSR);
+
 /*
  * gotoxy() must verify all boundaries, because the arguments
  * might also be negative. If the given position is out of
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to