Commit cbb89e29 authored by Art Haas's avatar Art Haas Committed by Andy Grover

[PATCH] C99 designated initializers for arch/ppc64

parent 929fe66c
......@@ -149,11 +149,11 @@ struct ItExtVpdPanel xItExtVpdPanel = {};
struct IoHriProcessorVpd xIoHriProcessorVpd[maxPhysicalProcessors] = {
{
xInstCacheOperandSize: 32,
xDataCacheOperandSize: 32,
xProcFreq: 50000000,
xTimeBaseFreq: 50000000,
xPVR: 0x3600
.xInstCacheOperandSize = 32,
.xDataCacheOperandSize = 32,
.xProcFreq = 50000000,
.xTimeBaseFreq = 50000000,
.xPVR = 0x3600
}
};
......
......@@ -60,11 +60,11 @@ extern struct list_head iSeries_Global_Device_List;
struct TceTable virtBusVethTceTable; /* Tce table for virtual ethernet */
struct TceTable virtBusVioTceTable; /* Tce table for virtual I/O */
struct iSeries_Device_Node iSeries_veth_dev_node = { LogicalSlot: 0xFF, DevTceTable: &virtBusVethTceTable };
struct iSeries_Device_Node iSeries_vio_dev_node = { LogicalSlot: 0xFF, DevTceTable: &virtBusVioTceTable };
struct iSeries_Device_Node iSeries_veth_dev_node = { .LogicalSlot = 0xFF, .DevTceTable = &virtBusVethTceTable };
struct iSeries_Device_Node iSeries_vio_dev_node = { .LogicalSlot = 0xFF, .DevTceTable = &virtBusVioTceTable };
struct pci_dev iSeries_veth_dev_st = { sysdata: &iSeries_veth_dev_node };
struct pci_dev iSeries_vio_dev_st = { sysdata: &iSeries_vio_dev_node };
struct pci_dev iSeries_veth_dev_st = { .sysdata = &iSeries_veth_dev_node };
struct pci_dev iSeries_vio_dev_st = { .sysdata = &iSeries_vio_dev_node };
struct pci_dev * iSeries_veth_dev = &iSeries_veth_dev_st;
struct pci_dev * iSeries_vio_dev = &iSeries_vio_dev_st;
......
......@@ -199,10 +199,10 @@ static ssize_t rtas_flash_write(struct file *file, const char *buffer,
}
static struct file_operations rtas_flash_operations = {
read: rtas_flash_read,
write: rtas_flash_write,
open: rtas_flash_open,
release: rtas_flash_release,
.read = rtas_flash_read,
.write = rtas_flash_write,
.open = rtas_flash_open,
.release = rtas_flash_release,
};
......
......@@ -119,10 +119,10 @@ void ppcdbg_initialize(void) {
}
static struct console udbg_console = {
name: "udbg",
write: udbg_console_write,
flags: CON_PRINTBUFFER,
index: -1,
.name = "udbg",
.write = udbg_console_write,
.flags = CON_PRINTBUFFER,
.index = -1,
};
static int early_console_initialized;
......
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