summaryrefslogtreecommitdiffstats
path: root/sys/dev/sx/sx.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commitdfd1f7fd50fffaf75541921fcf86454cd8eb3614 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/sx/sx.c
parentcafb94bcea1cdf048e81b7eb2d24808e1a8c5280 (diff)
downloadFreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.zip
FreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.tar.gz
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
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