Commit a201ecdf authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] gcc-3.5: drivers/ide/pci/sc1200.c

drivers/ide/pci/sc1200.c: In function `sc1200_suspend':
drivers/ide/pci/sc1200.c:423: error: invalid lvalue in assignment
parent 3a4a61e2
......@@ -420,7 +420,7 @@ static int sc1200_suspend (struct pci_dev *dev, u32 state)
ss = kmalloc(sizeof(sc1200_saved_state_t), GFP_KERNEL);
if (ss == NULL)
return -ENOMEM;
(sc1200_saved_state_t *)hwif->config_data = ss;
hwif->config_data = (unsigned long)ss;
}
ss = (sc1200_saved_state_t *)hwif->config_data;
//
......
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