Messages in this thread Patch in this message | | | Subject | [PATCH] Export new char dev functions | From | Jonathan Corbet <> | Date | Tue, 16 Sep 2003 12:18:02 -0600 |
| |
Nobody told me that the failure to export these (like their block counterparts) was anything but an oversight; modules will not be able to use larger device numbers without them. So...this patch exports the new char device functions.
jon
Jonathan Corbet Executive editor, LWN.net corbet@lwn.net
--- test5-vanilla/kernel/ksyms.c Wed Sep 17 01:58:05 2003 +++ test5/kernel/ksyms.c Wed Sep 17 02:05:29 2003 @@ -42,6 +42,7 @@ #include <linux/highuid.h> #include <linux/fs.h> #include <linux/fs_struct.h> +#include <linux/cdev.h> #include <linux/uio.h> #include <linux/tty.h> #include <linux/in6.h> @@ -355,6 +356,16 @@ EXPORT_SYMBOL(tty_register_driver); EXPORT_SYMBOL(tty_unregister_driver); EXPORT_SYMBOL(tty_std_termios); +EXPORT_SYMBOL(register_chrdev_region); +EXPORT_SYMBOL(unregister_chrdev_region); +EXPORT_SYMBOL(alloc_chrdev_region); +EXPORT_SYMBOL(cdev_init); +EXPORT_SYMBOL(cdev_alloc); +EXPORT_SYMBOL(cdev_get); +EXPORT_SYMBOL(cdev_put); +EXPORT_SYMBOL(cdev_del); +EXPORT_SYMBOL(cdev_add); +EXPORT_SYMBOL(cdev_unmap); /* block device driver support */ EXPORT_SYMBOL(bmap); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |