OSDN Git Service

Export drm_setup for use by new driver init code.
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>
Tue, 10 Apr 2007 17:31:58 +0000 (10:31 -0700)
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>
Tue, 10 Apr 2007 17:31:58 +0000 (10:31 -0700)
linux-core/drm_fops.c

index d400a4d..6f0465f 100644 (file)
@@ -41,7 +41,7 @@
 static int drm_open_helper(struct inode *inode, struct file *filp,
                           drm_device_t * dev);
 
-static int drm_setup(drm_device_t * dev)
+int drm_setup(drm_device_t * dev)
 {
        drm_local_map_t *map;
        int i;
@@ -121,6 +121,7 @@ static int drm_setup(drm_device_t * dev)
 
        return 0;
 }
+EXPORT_SYMBOL(drm_setup);
 
 /**
  * Open file.