summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/vio.c
diff options
context:
space:
mode:
authorJag Raman <jag.raman@oracle.com>2017-08-15 17:03:00 -0400
committerDavid S. Miller <davem@davemloft.net>2017-08-15 21:33:51 -0700
commit5d171050e28f823aeb040f2830da4d3422b54b63 (patch)
tree0a33555a897bb343261d0b066079e7f7d479ef1e /arch/sparc/kernel/vio.c
parentce808b746325975192d8cd1d29f1ec03d5b6b0fc (diff)
sparc64: vcc: Enable VCC port probe and removal
Enables VCC port probe and removal to initialize and terminate VCC ports respectively. When a device/port matching the VCC driver is added, the probe function is invoked along with a reference to the device. remove function is called when the device is removed. Also add APIs to cache and retrieve VCC ports from a VCC table Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/vio.c')
-rw-r--r--arch/sparc/kernel/vio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/vio.c b/arch/sparc/kernel/vio.c
index 1c8763c9c52b..da1ac3f22b24 100644
--- a/arch/sparc/kernel/vio.c
+++ b/arch/sparc/kernel/vio.c
@@ -246,6 +246,7 @@ u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev)
return node;
}
+EXPORT_SYMBOL(vio_vdev_node);
static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp,
struct vio_dev *vdev)