Commit 450fa027 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia

into home.osdl.org:/home/torvalds/v2.5/linux
parents 547e77c8 8bbb2de8
......@@ -120,7 +120,7 @@ static const char *version =
/*====================================================================*/
socket_state_t dead_socket = {
0, SS_DETECT, 0, 0, 0
.csc_mask = SS_DETECT,
};
......
......@@ -44,7 +44,7 @@ MODULE_DEVICE_TABLE(pci, i82092aa_pci_ids);
static int i82092aa_socket_suspend (struct pci_dev *dev, u32 state)
{
return pcmcia_socket_dev_suspend(&dev->dev, state, 0);
return pcmcia_socket_dev_suspend(&dev->dev, state, SUSPEND_SAVE_STATE);
}
static int i82092aa_socket_resume (struct pci_dev *dev)
......
......@@ -77,10 +77,14 @@ typedef struct resource_map_t {
} resource_map_t;
/* Memory resource database */
static resource_map_t mem_db = { 0, 0, &mem_db };
static resource_map_t mem_db = {
.next = &mem_db,
};
/* IO port resource database */
static resource_map_t io_db = { 0, 0, &io_db };
static resource_map_t io_db = {
.next = &io_db,
};
static DECLARE_MUTEX(rsrc_sem);
......@@ -93,7 +97,7 @@ typedef struct irq_info_t {
} irq_info_t;
/* Table of IRQ assignments */
static irq_info_t irq_table[NR_IRQS] = { { 0, 0, 0 }, /* etc */ };
static irq_info_t irq_table[NR_IRQS];
#endif
......
......@@ -901,7 +901,7 @@ static int __devinit yenta_probe (struct pci_dev *dev, const struct pci_device_i
static int yenta_dev_suspend (struct pci_dev *dev, u32 state)
{
return pcmcia_socket_dev_suspend(&dev->dev, state, 0);
return pcmcia_socket_dev_suspend(&dev->dev, state, SUSPEND_SAVE_STATE);
}
......
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