Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 49084
b: refs/heads/master
c: c5a69d5
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Adrian Bunk committed Feb 17, 2007
1 parent 9137684 commit 8f5c099
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0bbfb7c2e4b682542a822d3af05cea0e5cb5ba81
refs/heads/master: c5a69d57eb48e36f84c0737b5b24ec277d7dbfba
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <asm/cacheflush.h>
#include <asm/page.h>

const extern unsigned char relocate_new_kernel[];
const extern unsigned int relocate_new_kernel_size;
extern const unsigned char relocate_new_kernel[];
extern const unsigned int relocate_new_kernel_size;

extern unsigned long kexec_start_address;
extern unsigned long kexec_indirection_page;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void rtas_progress(char *s, unsigned short hex)
char *os;
static int display_character, set_indicator;
static int display_width, display_lines, form_feed;
const static int *row_width;
static const int *row_width;
static DEFINE_SPINLOCK(progress_lock);
static int current_line;
static int pending_newline = 0; /* did last write end with unprinted newline? */
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/cpu/sh2/clock-sh7619.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <asm/freq.h>
#include <asm/io.h>

const static int pll1rate[]={1,2};
const static int pfc_divisors[]={1,2,0,4};
static const int pll1rate[] = {1,2};
static const int pfc_divisors[] = {1,2,0,4};

#if (CONFIG_SH_CLK_MD == 1) || (CONFIG_SH_CLK_MD == 2)
#define PLL2 (4)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/cpu/sh2a/clock-sh7206.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <asm/freq.h>
#include <asm/io.h>

const static int pll1rate[]={1,2,3,4,6,8};
const static int pfc_divisors[]={1,2,3,4,6,8,12};
static const int pll1rate[]={1,2,3,4,6,8};
static const int pfc_divisors[]={1,2,3,4,6,8,12};
#define ifc_divisors pfc_divisors

#if (CONFIG_SH_CLK_MD == 2)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ieee1394/ohci1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static int alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d,
static void ohci1394_pci_remove(struct pci_dev *pdev);

#ifndef __LITTLE_ENDIAN
const static size_t hdr_sizes[] = {
static const size_t hdr_sizes[] = {
3, /* TCODE_WRITEQ */
4, /* TCODE_WRITEB */
3, /* TCODE_WRITE_RESPONSE */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/serio/libps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ EXPORT_SYMBOL(ps2_drain);

int ps2_is_keyboard_id(char id_byte)
{
const static char keyboard_ids[] = {
static const char keyboard_ids[] = {
0xab, /* Regular keyboards */
0xac, /* NCD Sun keyboard */
0x2b, /* Trust keyboard, translated */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static unsigned int pvr2_msp3400_describe(struct pvr2_msp3400_handler *ctxt,
}


const static struct pvr2_i2c_handler_functions msp3400_funcs = {
static const struct pvr2_i2c_handler_functions msp3400_funcs = {
.detach = (void (*)(void *))pvr2_msp3400_detach,
.check = (int (*)(void *))msp3400_check,
.update = (void (*)(void *))msp3400_update,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static void decoder_reset(struct pvr2_v4l_cx2584x *ctxt)
}


const static struct pvr2_i2c_handler_functions hfuncs = {
static const struct pvr2_i2c_handler_functions hfuncs = {
.detach = (void (*)(void *))decoder_detach,
.check = (int (*)(void *))decoder_check,
.update = (void (*)(void *))decoder_update,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-std.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ struct std_name {
#define CSTD_ALL (CSTD_PAL|CSTD_NTSC|CSTD_SECAM)

/* Mapping of standard bits to color system */
const static struct std_name std_groups[] = {
static const struct std_name std_groups[] = {
{"PAL",CSTD_PAL},
{"NTSC",CSTD_NTSC},
{"SECAM",CSTD_SECAM},
};

/* Mapping of standard bits to modulation system */
const static struct std_name std_items[] = {
static const struct std_name std_items[] = {
{"B",TSTD_B},
{"B1",TSTD_B1},
{"D",TSTD_D},
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-tuner.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static unsigned int pvr2_tuner_describe(struct pvr2_tuner_handler *ctxt,char *bu
}


const static struct pvr2_i2c_handler_functions tuner_funcs = {
static const struct pvr2_i2c_handler_functions tuner_funcs = {
.detach = (void (*)(void *))pvr2_tuner_detach,
.check = (int (*)(void *))tuner_check,
.update = (void (*)(void *))tuner_update,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static unsigned int decoder_describe(struct pvr2_v4l_decoder *ctxt,char *buf,uns
}


const static struct pvr2_i2c_handler_functions hfuncs = {
static const struct pvr2_i2c_handler_functions hfuncs = {
.detach = (void (*)(void *))decoder_detach,
.check = (int (*)(void *))decoder_check,
.update = (void (*)(void *))decoder_update,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-wm8775.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void wm8775_update(struct pvr2_v4l_wm8775 *ctxt)
}


const static struct pvr2_i2c_handler_functions hfuncs = {
static const struct pvr2_i2c_handler_functions hfuncs = {
.detach = (void (*)(void *))wm8775_detach,
.check = (int (*)(void *))wm8775_check,
.update = (void (*)(void *))wm8775_update,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/arm/eesox.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static void eesoxscsi_buffer_in(void *buf, int length, void __iomem *base)
const void __iomem *reg_fas = base + EESOX_FAS216_OFFSET;
const void __iomem *reg_dmastat = base + EESOX_DMASTAT;
const void __iomem *reg_dmadata = base + EESOX_DMADATA;
const register unsigned long mask = 0xffff;
register const unsigned long mask = 0xffff;

do {
unsigned int status;
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2824,10 +2824,10 @@ CIFSGetExtAttr(const int xid, struct cifsTconInfo *tcon,


/* security id for everyone */
const static struct cifs_sid sid_everyone =
static const struct cifs_sid sid_everyone =
{1, 1, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0}};
/* group users */
const static struct cifs_sid sid_user =
static const struct cifs_sid sid_user =
{1, 2 , {0, 0, 0, 0, 0, 5}, {32, 545, 0, 0}};

/* Convert CIFS ACL to POSIX form */
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-arm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ extern int __get_user_4(void *);

#define get_user(x,p) \
({ \
const register typeof(*(p)) __user *__p asm("r0") = (p);\
register const typeof(*(p)) __user *__p asm("r0") = (p);\
register unsigned long __r2 asm("r2"); \
register int __e asm("r0"); \
switch (sizeof(*(__p))) { \
Expand Down Expand Up @@ -143,8 +143,8 @@ extern int __put_user_8(void *, unsigned long long);

#define put_user(x,p) \
({ \
const register typeof(*(p)) __r2 asm("r2") = (x); \
const register typeof(*(p)) __user *__p asm("r0") = (p);\
register const typeof(*(p)) __r2 asm("r2") = (x); \
register const typeof(*(p)) __user *__p asm("r0") = (p);\
register int __e asm("r0"); \
switch (sizeof(*(__p))) { \
case 1: \
Expand Down
10 changes: 5 additions & 5 deletions trunk/include/asm-arm26/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extern int __get_user_bad(void);

#define get_user(x,p) \
({ \
const register typeof(*(p)) *__p asm("r0") = (p); \
register const typeof(*(p)) *__p asm("r0") = (p); \
register typeof(*(p)) __r1 asm("r1"); \
register int __e asm("r0"); \
switch (sizeof(*(p))) { \
Expand Down Expand Up @@ -139,8 +139,8 @@ extern int __put_user_bad(void);

#define put_user(x,p) \
({ \
const register typeof(*(p)) __r1 asm("r1") = (x); \
const register typeof(*(p)) *__p asm("r0") = (p); \
register const typeof(*(p)) __r1 asm("r1") = (x); \
register const typeof(*(p)) *__p asm("r0") = (p); \
register int __e asm("r0"); \
switch (sizeof(*(__p))) { \
case 1: \
Expand Down Expand Up @@ -170,8 +170,8 @@ extern int __put_user_bad(void);

#define put_user(x,p) \
({ \
const register typeof(*(p)) __r1 asm("r1") = (x); \
const register typeof(*(p)) *__p asm("r0") = (p); \
register const typeof(*(p)) __r1 asm("r1") = (x); \
register const typeof(*(p)) *__p asm("r0") = (p); \
register int __e asm("r0"); \
switch (sizeof(*(p))) { \
case 1: \
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ia64/kexec.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

extern struct kimage *ia64_kimage;
DECLARE_PER_CPU(u64, ia64_mca_pal_base);
const extern unsigned int relocate_new_kernel_size;
extern const unsigned int relocate_new_kernel_size;
extern void relocate_new_kernel(unsigned long, unsigned long,
struct ia64_boot_param *, unsigned long);
static inline void
Expand Down

0 comments on commit 8f5c099

Please sign in to comment.