From 2a2408d4ea73484842467ce7dd281478e2a8a7ee Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 2 Mar 2003 18:50:21 +0000 Subject: Use canonical format for cdevsw initilization. --- sys/dev/tdfx/tdfx_pci.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'sys') 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 -- cgit v1.1