Remaining errors are due to the use of typedefs. They should dissappear
once the typedefs get cleaned up.
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
}
#ifndef ABS
-#define ABS(a) (((a) < 0) ? -(a):(a))
+#define ABS(a) (((a) < 0) ? -(a) : (a))
#endif /* ABS */
#ifndef MIN
-#define MIN(a, b) (((a) < (b)) ? (a):(b))
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif /* MIN */
#ifndef MAX
-#define MAX(a, b) (((a) > (b)) ? (a):(b))
+#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif /* MAX */
#define CEIL(x, y) (((x) + ((y)-1)) / (y))
}
static struct pci_driver wl_pci_driver = {
- name: "brcm80211",
- probe: wl_pci_probe,
+ .name = "brcm80211",
+ .probe = wl_pci_probe,
#ifdef LINUXSTA_PS
- suspend: wl_suspend,
- resume: wl_resume,
+ .suspend = wl_suspend,
+ .resume = wl_resume,
#endif /* LINUXSTA_PS */
- remove: __devexit_p(wl_remove),
- id_table: wl_id_table,
+ .remove = __devexit_p(wl_remove),
+ .id_table = wl_id_table,
};
#endif /* !BCMSDIO */