summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-08-31 04:29:17 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-08-31 04:29:17 -0700
commit64c7bdeb36a7be6d036c0f8f2c84325359be0375 (patch)
treeff621511cff884cb87fc99d154a837433ba1f921 /include
parent96153507b070567d1102978ac13d09a66e028343 (diff)
[PATCH] c99 struct initialiser conversions
From: CaT <cat@zip.com.au> Convert a whole bunch of struct initialisers into c99 format.
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/proc-armo/processor.h2
-rw-r--r--include/asm-arm/xor.h10
-rw-r--r--include/asm-arm26/processor.h2
-rw-r--r--include/asm-arm26/xor.h10
4 files changed, 12 insertions, 12 deletions
diff --git a/include/asm-arm/proc-armo/processor.h b/include/asm-arm/proc-armo/processor.h
index 675fe0f51592..aba9dbaa61b7 100644
--- a/include/asm-arm/proc-armo/processor.h
+++ b/include/asm-arm/proc-armo/processor.h
@@ -43,7 +43,7 @@ extern uaccess_t uaccess_user, uaccess_kernel;
uaccess_t *uaccess; /* User access functions*/
#define EXTRA_THREAD_STRUCT_INIT \
- uaccess: &uaccess_kernel,
+ .uaccess = &uaccess_kernel,
#define start_thread(regs,pc,sp) \
({ \
diff --git a/include/asm-arm/xor.h b/include/asm-arm/xor.h
index 8da66615f301..e7c4cf58bed1 100644
--- a/include/asm-arm/xor.h
+++ b/include/asm-arm/xor.h
@@ -125,11 +125,11 @@ xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2,
}
static struct xor_block_template xor_block_arm4regs = {
- name: "arm4regs",
- do_2: xor_arm4regs_2,
- do_3: xor_arm4regs_3,
- do_4: xor_arm4regs_4,
- do_5: xor_arm4regs_5,
+ .name = "arm4regs",
+ .do_2 = xor_arm4regs_2,
+ .do_3 = xor_arm4regs_3,
+ .do_4 = xor_arm4regs_4,
+ .do_5 = xor_arm4regs_5,
};
#undef XOR_TRY_TEMPLATES
diff --git a/include/asm-arm26/processor.h b/include/asm-arm26/processor.h
index 054021ee5da2..8f9f6ad53474 100644
--- a/include/asm-arm26/processor.h
+++ b/include/asm-arm26/processor.h
@@ -51,7 +51,7 @@ extern uaccess_t uaccess_user, uaccess_kernel;
uaccess_t *uaccess; /* User access functions*/
#define EXTRA_THREAD_STRUCT_INIT \
- uaccess: &uaccess_kernel,
+ .uaccess = &uaccess_kernel,
// FIXME?!!
diff --git a/include/asm-arm26/xor.h b/include/asm-arm26/xor.h
index 8da66615f301..e7c4cf58bed1 100644
--- a/include/asm-arm26/xor.h
+++ b/include/asm-arm26/xor.h
@@ -125,11 +125,11 @@ xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2,
}
static struct xor_block_template xor_block_arm4regs = {
- name: "arm4regs",
- do_2: xor_arm4regs_2,
- do_3: xor_arm4regs_3,
- do_4: xor_arm4regs_4,
- do_5: xor_arm4regs_5,
+ .name = "arm4regs",
+ .do_2 = xor_arm4regs_2,
+ .do_3 = xor_arm4regs_3,
+ .do_4 = xor_arm4regs_4,
+ .do_5 = xor_arm4regs_5,
};
#undef XOR_TRY_TEMPLATES