mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
CRIS: replace old-style member inits with designated inits
Replace the old-style structure member initializers with designated initializers. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e30afd5119
commit
7ff9057db7
3 changed files with 12 additions and 12 deletions
|
@ -267,10 +267,10 @@ static void print_user_dma_lists(struct cryptocop_dma_list_operation *dma_op);
|
||||||
|
|
||||||
|
|
||||||
const struct file_operations cryptocop_fops = {
|
const struct file_operations cryptocop_fops = {
|
||||||
owner: THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
open: cryptocop_open,
|
.open = cryptocop_open,
|
||||||
release: cryptocop_release,
|
.release = cryptocop_release,
|
||||||
ioctl: cryptocop_ioctl
|
.ioctl = cryptocop_ioctl
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -574,10 +574,10 @@ i2c_ioctl(struct inode *inode, struct file *file,
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct file_operations i2c_fops = {
|
static const struct file_operations i2c_fops = {
|
||||||
owner: THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
ioctl: i2c_ioctl,
|
.ioctl = i2c_ioctl,
|
||||||
open: i2c_open,
|
.open = i2c_open,
|
||||||
release: i2c_release,
|
.release = i2c_release,
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init
|
int __init
|
||||||
|
|
|
@ -51,10 +51,10 @@ int pcf8563_open(struct inode *, struct file *);
|
||||||
int pcf8563_release(struct inode *, struct file *);
|
int pcf8563_release(struct inode *, struct file *);
|
||||||
|
|
||||||
static const struct file_operations pcf8563_fops = {
|
static const struct file_operations pcf8563_fops = {
|
||||||
owner: THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
ioctl: pcf8563_ioctl,
|
.ioctl = pcf8563_ioctl,
|
||||||
open: pcf8563_open,
|
.open = pcf8563_open,
|
||||||
release: pcf8563_release,
|
.release = pcf8563_release,
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned char
|
unsigned char
|
||||||
|
|
Loading…
Reference in a new issue