All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Export new char dev functions
@ 2003-09-16 18:18 Jonathan Corbet
  2003-09-16 23:57 ` Greg KH
  0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Corbet @ 2003-09-16 18:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

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);

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-09-17 23:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-16 18:18 [PATCH] Export new char dev functions Jonathan Corbet
2003-09-16 23:57 ` Greg KH
2003-09-17  2:36   ` Jonathan Corbet
2003-09-17  2:46     ` Arnaldo Carvalho de Melo
2003-09-17  2:49     ` John Levon
2003-09-17 16:36       ` Jonathan Corbet
2003-09-17 22:45         ` Jeff Garzik
2003-09-17 23:03           ` Jonathan Corbet
2003-09-17 23:09             ` Jeff Garzik
2003-09-17 17:22     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.