git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b43: fall back gracefully to PIO mode after fatal DMA errors
[pandora-kernel.git]
/
arch
/
mips
/
basler
/
excite
/
excite_device.c
diff --git
a/arch/mips/basler/excite/excite_device.c
b/arch/mips/basler/excite/excite_device.c
index
cc1ce77
..
e00bc2d
100644
(file)
--- a/
arch/mips/basler/excite/excite_device.c
+++ b/
arch/mips/basler/excite/excite_device.c
@@
-68,7
+68,7
@@
enum {
static struct resource
static struct resource
- excite_ctr_resource __
attribute__((unused))
= {
+ excite_ctr_resource __
maybe_unused
= {
.name = "GPI counters",
.start = 0,
.end = 5,
.name = "GPI counters",
.start = 0,
.end = 5,
@@
-77,7
+77,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_gpislice_resource __
attribute__((unused))
= {
+ excite_gpislice_resource __
maybe_unused
= {
.name = "GPI slices",
.start = 0,
.end = 1,
.name = "GPI slices",
.start = 0,
.end = 1,
@@
-86,7
+86,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_mdio_channel_resource __
attribute__((unused))
= {
+ excite_mdio_channel_resource __
maybe_unused
= {
.name = "MDIO channels",
.start = 0,
.end = 1,
.name = "MDIO channels",
.start = 0,
.end = 1,
@@
-95,7
+95,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_fifomem_resource __
attribute__((unused))
= {
+ excite_fifomem_resource __
maybe_unused
= {
.name = "FIFO memory",
.start = 0,
.end = 767,
.name = "FIFO memory",
.start = 0,
.end = 767,
@@
-104,7
+104,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_scram_resource __
attribute__((unused))
= {
+ excite_scram_resource __
maybe_unused
= {
.name = "Scratch RAM",
.start = EXCITE_PHYS_SCRAM,
.end = EXCITE_PHYS_SCRAM + EXCITE_SIZE_SCRAM - 1,
.name = "Scratch RAM",
.start = EXCITE_PHYS_SCRAM,
.end = EXCITE_PHYS_SCRAM + EXCITE_SIZE_SCRAM - 1,
@@
-113,7
+113,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_fpga_resource __
attribute__((unused))
= {
+ excite_fpga_resource __
maybe_unused
= {
.name = "System FPGA",
.start = EXCITE_PHYS_FPGA,
.end = EXCITE_PHYS_FPGA + EXCITE_SIZE_FPGA - 1,
.name = "System FPGA",
.start = EXCITE_PHYS_FPGA,
.end = EXCITE_PHYS_FPGA + EXCITE_SIZE_FPGA - 1,
@@
-122,7
+122,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_nand_resource __
attribute__((unused))
= {
+ excite_nand_resource __
maybe_unused
= {
.name = "NAND flash control",
.start = EXCITE_PHYS_NAND,
.end = EXCITE_PHYS_NAND + EXCITE_SIZE_NAND - 1,
.name = "NAND flash control",
.start = EXCITE_PHYS_NAND,
.end = EXCITE_PHYS_NAND + EXCITE_SIZE_NAND - 1,
@@
-131,7
+131,7
@@
static struct resource
.sibling = NULL,
.child = NULL
},
.sibling = NULL,
.child = NULL
},
- excite_titan_resource __
attribute__((unused))
= {
+ excite_titan_resource __
maybe_unused
= {
.name = "TITAN registers",
.start = EXCITE_PHYS_TITAN,
.end = EXCITE_PHYS_TITAN + EXCITE_SIZE_TITAN - 1,
.name = "TITAN registers",
.start = EXCITE_PHYS_TITAN,
.end = EXCITE_PHYS_TITAN + EXCITE_SIZE_TITAN - 1,