Re: [PATCH2] Basic braille screen reader support

From: Samuel Thibault
Date: Thu Apr 24 2008 - 07:19:57 EST


Alan Cox, le Thu 24 Apr 2008 11:21:26 +0100, a écrit :
> On Thu, 24 Apr 2008 01:39:00 +0100
> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> wrote:
> > Export functions typically used by screen reading modules.
>
> Seems the right small set of changes to get us started with the real
> merge and its useful for the tty cleanup to have these exports visible so
> I know what will affect others.

Ok.

Additionnal exports which will be of much use is selection, see patch
below.

Samuel



Export set_selection and paste_selection for accessibility modules.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

--- linux/drivers/char/selection.c.orig 2008-04-24 12:00:07.000000000 +0100
+++ linux/drivers/char/selection.c 2008-04-24 11:59:56.000000000 +0100
@@ -299,6 +299,7 @@ int set_selection(const struct tiocl_sel
sel_buffer_lth = bp - sel_buffer;
return 0;
}
+EXPORT_SYMBOL_GPL(set_selection);

/* Insert the contents of the selection buffer into the
* queue of the tty associated with the current console.
@@ -336,3 +337,4 @@ int paste_selection(struct tty_struct *t
tty_ldisc_deref(ld);
return 0;
}
+EXPORT_SYMBOL_GPL(paste_selection);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/