Commit 6e357500 authored by Dave Jones's avatar Dave Jones

[PATCH] named struct initialiser updates

parent be21534d
......@@ -336,15 +336,10 @@ static void i2o_scsi_reply(struct i2o_handler *h, struct i2o_controller *c, stru
return;
}
struct i2o_handler i2o_scsi_handler=
{
i2o_scsi_reply,
NULL,
NULL,
NULL,
"I2O SCSI OSM",
0,
I2O_CLASS_SCSI_PERIPHERAL
struct i2o_handler i2o_scsi_handler = {
.reply = i2o_scsi_reply,
.name = "I2O SCSI OSM",
.class = I2O_CLASS_SCSI_PERIPHERAL,
};
/**
......
......@@ -230,8 +230,9 @@ static void fbcon_vbl_detect(int irq, void *dummy, struct pt_regs *fp)
static void cursor_timer_handler(unsigned long dev_addr);
static struct timer_list cursor_timer =
TIMER_INITIALIZER(cursor_timer_handler, 0, 0);
static struct timer_list cursor_timer = {
function: cursor_timer_handler
};
static void cursor_timer_handler(unsigned long dev_addr)
{
......
......@@ -18,7 +18,9 @@
/* sysctl tunables... */
struct files_stat_struct files_stat = {0, 0, NR_FILE};
struct files_stat_struct files_stat = {
.max_files = NR_FILE
};
/* Here the new files go */
static LIST_HEAD(anon_list);
......
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