summaryrefslogtreecommitdiffstats
path: root/sys/dev/sx/sx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sx/sx.c')
-rw-r--r--sys/dev/sx/sx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 5588ab7..0e0687e 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -332,7 +332,7 @@ sxattach(
*/
static int
sxopen(
- dev_t dev,
+ struct cdev *dev,
int flag,
int mode,
d_thread_t *p)
@@ -501,7 +501,7 @@ out:
*/
static int
sxclose(
- dev_t dev,
+ struct cdev *dev,
int flag,
int mode,
d_thread_t *p)
@@ -641,7 +641,7 @@ sxdtrwakeup(void *chan)
*/
static int
sxwrite(
- dev_t dev,
+ struct cdev *dev,
struct uio *uio,
int flag)
{
@@ -690,7 +690,7 @@ out: splx(oldspl);
*/
static int
sxioctl(
- dev_t dev,
+ struct cdev *dev,
u_long cmd,
caddr_t data,
int flag,
OpenPOWER on IntegriCloud