Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
482ae074
Commit
482ae074
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/sgi
parent
d5ea0e7c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
33 deletions
+33
-33
drivers/sgi/char/ds1286.c
drivers/sgi/char/ds1286.c
+6
-6
drivers/sgi/char/graphics.c
drivers/sgi/char/graphics.c
+5
-5
drivers/sgi/char/sgiserial.c
drivers/sgi/char/sgiserial.c
+6
-6
drivers/sgi/char/shmiq.c
drivers/sgi/char/shmiq.c
+7
-7
drivers/sgi/char/streamable.c
drivers/sgi/char/streamable.c
+6
-6
drivers/sgi/char/usema.c
drivers/sgi/char/usema.c
+3
-3
No files found.
drivers/sgi/char/ds1286.c
View file @
482ae074
...
@@ -331,12 +331,12 @@ static unsigned int ds1286_poll(struct file *file, poll_table *wait)
...
@@ -331,12 +331,12 @@ static unsigned int ds1286_poll(struct file *file, poll_table *wait)
*/
*/
static
struct
file_operations
ds1286_fops
=
{
static
struct
file_operations
ds1286_fops
=
{
llseek:
no_llseek
,
.
llseek
=
no_llseek
,
read:
ds1286_read
,
.
read
=
ds1286_read
,
poll:
ds1286_poll
,
.
poll
=
ds1286_poll
,
ioctl:
ds1286_ioctl
,
.
ioctl
=
ds1286_ioctl
,
open:
ds1286_open
,
.
open
=
ds1286_open
,
release:
ds1286_release
,
.
release
=
ds1286_release
,
};
};
static
struct
miscdevice
ds1286_dev
=
static
struct
miscdevice
ds1286_dev
=
...
...
drivers/sgi/char/graphics.c
View file @
482ae074
...
@@ -259,7 +259,7 @@ sgi_graphics_nopage (struct vm_area_struct *vma, unsigned long address, int
...
@@ -259,7 +259,7 @@ sgi_graphics_nopage (struct vm_area_struct *vma, unsigned long address, int
*/
*/
static
struct
vm_operations_struct
graphics_mmap
=
{
static
struct
vm_operations_struct
graphics_mmap
=
{
nopage:
sgi_graphics_nopage
,
/* our magic no-page fault handler */
.
nopage
=
sgi_graphics_nopage
,
/* our magic no-page fault handler */
};
};
int
int
...
@@ -292,10 +292,10 @@ graphics_ops_post_init (int slot)
...
@@ -292,10 +292,10 @@ graphics_ops_post_init (int slot)
#endif
#endif
struct
file_operations
sgi_graphics_fops
=
{
struct
file_operations
sgi_graphics_fops
=
{
ioctl:
sgi_graphics_ioctl
,
.
ioctl
=
sgi_graphics_ioctl
,
mmap:
sgi_graphics_mmap
,
.
mmap
=
sgi_graphics_mmap
,
open:
sgi_graphics_open
,
.
open
=
sgi_graphics_open
,
release:
sgi_graphics_close
,
.
release
=
sgi_graphics_close
,
};
};
/* /dev/graphics */
/* /dev/graphics */
...
...
drivers/sgi/char/sgiserial.c
View file @
482ae074
...
@@ -2258,12 +2258,12 @@ static int __init zs_console_setup(struct console *con, char *options)
...
@@ -2258,12 +2258,12 @@ static int __init zs_console_setup(struct console *con, char *options)
}
}
static
struct
console
sgi_console_driver
=
{
static
struct
console
sgi_console_driver
=
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
zs_console_write
,
.
write
=
zs_console_write
,
device:
zs_console_device
,
.
device
=
zs_console_device
,
setup:
zs_console_setup
,
.
setup
=
zs_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
/*
/*
...
...
drivers/sgi/char/shmiq.c
View file @
482ae074
...
@@ -311,7 +311,7 @@ shmiq_nopage (struct vm_area_struct *vma, unsigned long address,
...
@@ -311,7 +311,7 @@ shmiq_nopage (struct vm_area_struct *vma, unsigned long address,
}
}
static
struct
vm_operations_struct
qcntl_mmap
=
{
static
struct
vm_operations_struct
qcntl_mmap
=
{
nopage:
shmiq_nopage
,
/* our magic no-page fault handler */
.
nopage
=
shmiq_nopage
,
/* our magic no-page fault handler */
};
};
static
int
static
int
...
@@ -454,12 +454,12 @@ shmiq_qcntl_close (struct inode *inode, struct file *filp)
...
@@ -454,12 +454,12 @@ shmiq_qcntl_close (struct inode *inode, struct file *filp)
static
struct
file_operations
shmiq_fops
=
static
struct
file_operations
shmiq_fops
=
{
{
poll:
shmiq_qcntl_poll
,
.
poll
=
shmiq_qcntl_poll
,
ioctl:
shmiq_qcntl_ioctl
,
.
ioctl
=
shmiq_qcntl_ioctl
,
mmap:
shmiq_qcntl_mmap
,
.
mmap
=
shmiq_qcntl_mmap
,
open:
shmiq_qcntl_open
,
.
open
=
shmiq_qcntl_open
,
release:
shmiq_qcntl_close
,
.
release
=
shmiq_qcntl_close
,
fasync:
shmiq_qcntl_fasync
,
.
fasync
=
shmiq_qcntl_fasync
,
};
};
void
void
...
...
drivers/sgi/char/streamable.c
View file @
482ae074
...
@@ -59,7 +59,7 @@ sgi_gfx_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigne
...
@@ -59,7 +59,7 @@ sgi_gfx_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigne
}
}
struct
file_operations
sgi_gfx_fops
=
{
struct
file_operations
sgi_gfx_fops
=
{
ioctl:
sgi_gfx_ioctl
,
.
ioctl
=
sgi_gfx_ioctl
,
};
};
static
struct
miscdevice
dev_gfx
=
{
static
struct
miscdevice
dev_gfx
=
{
...
@@ -167,8 +167,8 @@ sgi_keyb_open (struct inode *inode, struct file *file)
...
@@ -167,8 +167,8 @@ sgi_keyb_open (struct inode *inode, struct file *file)
}
}
struct
file_operations
sgi_keyb_fops
=
{
struct
file_operations
sgi_keyb_fops
=
{
ioctl:
sgi_keyb_ioctl
,
.
ioctl
=
sgi_keyb_ioctl
,
open:
sgi_keyb_open
,
.
open
=
sgi_keyb_open
,
};
};
static
struct
miscdevice
dev_input_keyboard
=
{
static
struct
miscdevice
dev_input_keyboard
=
{
...
@@ -296,9 +296,9 @@ sgi_mouse_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsig
...
@@ -296,9 +296,9 @@ sgi_mouse_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsig
}
}
struct
file_operations
sgi_mouse_fops
=
{
struct
file_operations
sgi_mouse_fops
=
{
ioctl:
sgi_mouse_ioctl
,
.
ioctl
=
sgi_mouse_ioctl
,
open:
sgi_mouse_open
,
.
open
=
sgi_mouse_open
,
release:
sgi_mouse_close
,
.
release
=
sgi_mouse_close
,
};
};
/* /dev/input/mouse */
/* /dev/input/mouse */
...
...
drivers/sgi/char/usema.c
View file @
482ae074
...
@@ -164,9 +164,9 @@ sgi_usemaclone_open(struct inode *inode, struct file *filp)
...
@@ -164,9 +164,9 @@ sgi_usemaclone_open(struct inode *inode, struct file *filp)
}
}
struct
file_operations
sgi_usemaclone_fops
=
{
struct
file_operations
sgi_usemaclone_fops
=
{
poll:
sgi_usemaclone_poll
,
.
poll
=
sgi_usemaclone_poll
,
ioctl:
sgi_usemaclone_ioctl
,
.
ioctl
=
sgi_usemaclone_ioctl
,
open:
sgi_usemaclone_open
,
.
open
=
sgi_usemaclone_open
,
};
};
static
struct
miscdevice
dev_usemaclone
=
{
static
struct
miscdevice
dev_usemaclone
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment