diff options
author | phk <phk@FreeBSD.org> | 2003-03-02 18:50:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-02 18:50:21 +0000 |
commit | 2a2408d4ea73484842467ce7dd281478e2a8a7ee (patch) | |
tree | 39c0dbacd7352b5f1ebb858f0c97c3a336c4843d /sys | |
parent | e7f1fdc8d259c2907fb2796d0ea6441fa42901f1 (diff) | |
download | FreeBSD-src-2a2408d4ea73484842467ce7dd281478e2a8a7ee.zip FreeBSD-src-2a2408d4ea73484842467ce7dd281478e2a8a7ee.tar.gz |
Use canonical format for cdevsw initilization.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/tdfx/tdfx_pci.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c index 33e0896..b8bd39a 100644 --- a/sys/dev/tdfx/tdfx_pci.c +++ b/sys/dev/tdfx/tdfx_pci.c @@ -103,19 +103,19 @@ LINUX_IOCTL_SET(tdfx, LINUX_IOCTL_TDFX_MIN, LINUX_IOCTL_TDFX_MAX); /* Char. Dev. file operations structure */ static struct cdevsw tdfx_cdev = { - tdfx_open, /* open */ - tdfx_close, /* close */ - noread, /* read */ - nowrite, /* write */ - tdfx_ioctl, /* ioctl */ - nopoll, /* poll */ - tdfx_mmap, /* mmap */ - nostrategy, /* strategy */ - "tdfx", /* dev name */ - CDEV_MAJOR, /* char major */ - nodump, /* dump */ - nopsize, /* size */ - 0, /* flags (no set flags) */ + /* open */ tdfx_open, + /* close */ tdfx_close, + /* read */ noread, + /* write */ nowrite, + /* ioctl */ tdfx_ioctl, + /* poll */ nopoll, + /* mmap */ tdfx_mmap, + /* strategy */ nostrategy, + /* name */ "tdfx", + /* maj */ CDEV_MAJOR, + /* dump */ nodump, + /* psize */ nopsize, + /* flags */ 0, }; static int |