summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/src/uts/common/xen/io/xenbus_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/xen/io/xenbus_dev.c b/usr/src/uts/common/xen/io/xenbus_dev.c
index 56c1308e7a..294c7e58aa 100644
--- a/usr/src/uts/common/xen/io/xenbus_dev.c
+++ b/usr/src/uts/common/xen/io/xenbus_dev.c
@@ -92,7 +92,7 @@
/* Some handy macros */
#define XENBUSDRV_MASK_READ_IDX(idx) ((idx) & (PAGESIZE - 1))
#define XENBUSDRV_MINOR2INST(minor) ((int)(minor))
-#define XENBUSDRV_NCLONES 256
+#define XENBUSDRV_NCLONES 256
#define XENBUSDRV_INST2SOFTS(instance) \
((xenbus_dev_t *)ddi_get_soft_state(xenbusdrv_statep, (instance)))
@@ -147,7 +147,7 @@ static int xenbusdrv_queue_reply(xenbus_dev_t *, const struct xsd_sockmsg *,
/* Solaris driver framework */
-static struct cb_ops xenbusdrv_cb_ops = {
+static struct cb_ops xenbusdrv_cb_ops = {
xenbusdrv_open, /* cb_open */
xenbusdrv_close, /* cb_close */
nodev, /* cb_strategy */
@@ -286,7 +286,7 @@ xenbusdrv_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
NULL);
error = ddi_create_minor_node(dip, "xenbus", S_IFCHR, unit,
- DDI_PSEUDO, NULL);
+ DDI_PSEUDO, 0);
if (error != DDI_SUCCESS)
goto fail;