Commit 5e88f91f authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] AGP designated initializer update.

The old form of designated initializers are obsolete: we need to
replace them with the ISO C forms before 2.6.  Gcc has always supported
both forms anyway.
parent 1da3174f
This diff is collapsed.
......@@ -1050,14 +1050,14 @@ static int agp_ioctl(struct inode *inode, struct file *file,
static struct file_operations agp_fops =
{
owner: THIS_MODULE,
llseek: no_llseek,
read: agp_read,
write: agp_write,
ioctl: agp_ioctl,
mmap: agp_mmap,
open: agp_open,
release: agp_release,
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = agp_read,
.write = agp_write,
.ioctl = agp_ioctl,
.mmap = agp_mmap,
.open = agp_open,
.release = agp_release,
};
static struct miscdevice agp_miscdev =
......
......@@ -533,8 +533,8 @@ static void intel_i460_destroy_page(void *page)
static struct gatt_mask intel_i460_masks[] =
{
{
mask: INTEL_I460_GATT_VALID | INTEL_I460_GATT_COHERENT,
type: 0
.mask = INTEL_I460_GATT_VALID | INTEL_I460_GATT_COHERENT,
.type = 0
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment