From: CaT <cat@zip.com.au>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 3/10] 2.6.0-t3: struct C99 initialiser conversion
Date: Tue, 19 Aug 2003 16:35:20 +1000 [thread overview]
Message-ID: <20030819063520.GI643@zip.com.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 146 bytes --]
linux/arch/mips patch
--
"How can I not love the Americans? They helped me with a flat tire the
other day," he said.
- http://tinyurl.com/h6fo
[-- Attachment #2: 2.6.0-t3.c99.arch.mips.patch --]
[-- Type: text/plain, Size: 5663 bytes --]
diff -aur linux.backup/arch/mips/au1000/common/dma.c linux/arch/mips/au1000/common/dma.c
--- linux.backup/arch/mips/au1000/common/dma.c Mon Jul 21 23:34:51 2003
+++ linux/arch/mips/au1000/common/dma.c Sat Aug 16 17:59:18 2003
@@ -62,14 +62,14 @@
spinlock_t au1000_dma_spin_lock = SPIN_LOCK_UNLOCKED;
struct dma_chan au1000_dma_table[NUM_AU1000_DMA_CHANNELS] = {
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,},
- {dev_id:-1,}
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,},
+ {.dev_id = -1,}
};
// Device FIFO addresses and default DMA modes
diff -aur linux.backup/arch/mips/sibyte/cfe/console.c linux/arch/mips/sibyte/cfe/console.c
--- linux.backup/arch/mips/sibyte/cfe/console.c Sat Aug 16 15:02:40 2003
+++ linux/arch/mips/sibyte/cfe/console.c Sat Aug 16 15:44:59 2003
@@ -74,12 +74,12 @@
}
static struct console sb1250_cfe_cons = {
- name: "cfe",
- write: cfe_console_write,
- device: cfe_console_device,
- setup: cfe_console_setup,
- flags: CON_PRINTBUFFER,
- index: -1,
+ .name = "cfe",
+ .write = cfe_console_write,
+ .device = cfe_console_device,
+ .setup = cfe_console_setup,
+ .flags = CON_PRINTBUFFER,
+ .index = -1,
};
static int __init sb1250_cfe_console_init(void)
diff -aur linux.backup/arch/mips/tx4927/common/tx4927_irq.c linux/arch/mips/tx4927/common/tx4927_irq.c
--- linux.backup/arch/mips/tx4927/common/tx4927_irq.c Mon Jul 21 23:34:53 2003
+++ linux/arch/mips/tx4927/common/tx4927_irq.c Sat Aug 16 17:59:57 2003
@@ -149,26 +149,26 @@
#define TX4927_CP0_NAME "TX4927-CP0"
static struct hw_interrupt_type tx4927_irq_cp0_type = {
- typename: TX4927_CP0_NAME,
- startup: tx4927_irq_cp0_startup,
- shutdown: tx4927_irq_cp0_shutdown,
- enable: tx4927_irq_cp0_enable,
- disable: tx4927_irq_cp0_disable,
- ack: tx4927_irq_cp0_mask_and_ack,
- end: tx4927_irq_cp0_end,
- set_affinity: NULL
+ .typename = TX4927_CP0_NAME,
+ .startup = tx4927_irq_cp0_startup,
+ .shutdown = tx4927_irq_cp0_shutdown,
+ .enable = tx4927_irq_cp0_enable,
+ .disable = tx4927_irq_cp0_disable,
+ .ack = tx4927_irq_cp0_mask_and_ack,
+ .end = tx4927_irq_cp0_end,
+ .set_affinity = NULL
};
#define TX4927_PIC_NAME "TX4927-PIC"
static struct hw_interrupt_type tx4927_irq_pic_type = {
- typename: TX4927_PIC_NAME,
- startup: tx4927_irq_pic_startup,
- shutdown: tx4927_irq_pic_shutdown,
- enable: tx4927_irq_pic_enable,
- disable: tx4927_irq_pic_disable,
- ack: tx4927_irq_pic_mask_and_ack,
- end: tx4927_irq_pic_end,
- set_affinity: NULL
+ .typename = TX4927_PIC_NAME,
+ .startup = tx4927_irq_pic_startup,
+ .shutdown = tx4927_irq_pic_shutdown,
+ .enable = tx4927_irq_pic_enable,
+ .disable = tx4927_irq_pic_disable,
+ .ack = tx4927_irq_pic_mask_and_ack,
+ .end = tx4927_irq_pic_end,
+ .set_affinity = NULL
};
#define TX4927_PIC_ACTION(s) { no_action, 0, 0, s, NULL, NULL }
diff -aur linux.backup/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c linux/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c
--- linux.backup/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c Sat Aug 16 15:02:17 2003
+++ linux/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c Sat Aug 16 18:02:56 2003
@@ -255,14 +255,14 @@
#define TOSHIBA_RBTX4927_IOC_NAME "RBTX4927-IOC"
static struct hw_interrupt_type toshiba_rbtx4927_irq_ioc_type = {
- typename:TOSHIBA_RBTX4927_IOC_NAME,
- startup:toshiba_rbtx4927_irq_ioc_startup,
- shutdown:toshiba_rbtx4927_irq_ioc_shutdown,
- enable:toshiba_rbtx4927_irq_ioc_enable,
- disable:toshiba_rbtx4927_irq_ioc_disable,
- ack:toshiba_rbtx4927_irq_ioc_mask_and_ack,
- end:toshiba_rbtx4927_irq_ioc_end,
- set_affinity:NULL
+ .typename = TOSHIBA_RBTX4927_IOC_NAME,
+ .startup = toshiba_rbtx4927_irq_ioc_startup,
+ .shutdown = toshiba_rbtx4927_irq_ioc_shutdown,
+ .enable = toshiba_rbtx4927_irq_ioc_enable,
+ .disable = toshiba_rbtx4927_irq_ioc_disable,
+ .ack = toshiba_rbtx4927_irq_ioc_mask_and_ack,
+ .end = toshiba_rbtx4927_irq_ioc_end,
+ .set_affinity = NULL
};
#define TOSHIBA_RBTX4927_IOC_INTR_ENAB 0xbc002000
#define TOSHIBA_RBTX4927_IOC_INTR_STAT 0xbc002006
@@ -271,14 +271,14 @@
#ifdef CONFIG_TOSHIBA_FPCIB0
#define TOSHIBA_RBTX4927_ISA_NAME "RBTX4927-ISA"
static struct hw_interrupt_type toshiba_rbtx4927_irq_isa_type = {
- typename:TOSHIBA_RBTX4927_ISA_NAME,
- startup:toshiba_rbtx4927_irq_isa_startup,
- shutdown:toshiba_rbtx4927_irq_isa_shutdown,
- enable:toshiba_rbtx4927_irq_isa_enable,
- disable:toshiba_rbtx4927_irq_isa_disable,
- ack:toshiba_rbtx4927_irq_isa_mask_and_ack,
- end:toshiba_rbtx4927_irq_isa_end,
- set_affinity:NULL
+ .typename = TOSHIBA_RBTX4927_ISA_NAME,
+ .startup = toshiba_rbtx4927_irq_isa_startup,
+ .shutdown = toshiba_rbtx4927_irq_isa_shutdown,
+ .enable = toshiba_rbtx4927_irq_isa_enable,
+ .disable = toshiba_rbtx4927_irq_isa_disable,
+ .ack = toshiba_rbtx4927_irq_isa_mask_and_ack,
+ .end = toshiba_rbtx4927_irq_isa_end,
+ .set_affinity = NULL
};
#endif
diff -aur linux.backup/arch/mips/vr41xx/common/vrc4173.c linux/arch/mips/vr41xx/common/vrc4173.c
--- linux.backup/arch/mips/vr41xx/common/vrc4173.c Sat Aug 16 15:02:40 2003
+++ linux/arch/mips/vr41xx/common/vrc4173.c Sat Aug 16 18:03:18 2003
@@ -250,10 +250,10 @@
}
static struct pci_driver vrc4173_driver = {
- name: "NEC VRC4173",
- probe: vrc4173_probe,
- remove: NULL,
- id_table: vrc4173_table,
+ .name = "NEC VRC4173",
+ .probe = vrc4173_probe,
+ .remove = NULL,
+ .id_table = vrc4173_table,
};
static int __devinit vrc4173_init(void)
reply other threads:[~2003-08-19 6:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030819063520.GI643@zip.com.au \
--to=cat@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.