summaryrefslogtreecommitdiff
path: root/drivers/vme
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2015-05-28 15:07:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-12 17:26:57 -0700
commitef73f886b53548d83d71a439f51a0c13ea6c1dae (patch)
tree44fa45ec03c5a6695de4ec326f3efe9979a1f58d /drivers/vme
parente7fd80cbb4a788b2f8b081ab8564752073c30505 (diff)
downloadlinux-rpi-ef73f886b53548d83d71a439f51a0c13ea6c1dae.tar.gz
linux-rpi-ef73f886b53548d83d71a439f51a0c13ea6c1dae.tar.bz2
linux-rpi-ef73f886b53548d83d71a439f51a0c13ea6c1dae.zip
vme: export vme_check_window()
Signed-off-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Cc: Igor Alekseev <igor.alekseev@itep.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme')
-rw-r--r--drivers/vme/vme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/vme/vme.c b/drivers/vme/vme.c
index 1b78d27aa728..56708915ebbe 100644
--- a/drivers/vme/vme.c
+++ b/drivers/vme/vme.c
@@ -177,8 +177,8 @@ size_t vme_get_size(struct vme_resource *resource)
}
EXPORT_SYMBOL(vme_get_size);
-static int vme_check_window(u32 aspace, unsigned long long vme_base,
- unsigned long long size)
+int vme_check_window(u32 aspace, unsigned long long vme_base,
+ unsigned long long size)
{
int retval = 0;
@@ -221,6 +221,7 @@ static int vme_check_window(u32 aspace, unsigned long long vme_base,
return retval;
}
+EXPORT_SYMBOL(vme_check_window);
/*
* Request a slave image with specific attributes, return some unique