aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_fops.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-10 10:31:58 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-10 10:31:58 -0700
commite114b981bc291049fa6996d487334a408acc1ce2 (patch)
tree31e759f5a1bfea1466b5932e254e28929fa208bd /linux-core/drm_fops.c
parentb59285d738b1a832b12d9258bd6f1db8f7e61f08 (diff)
Export drm_setup for use by new driver init code.
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r--linux-core/drm_fops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index d400a4d5..6f0465fd 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -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.