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
can: sja1000: use common prefix for all sja1000 defines
[pandora-kernel.git]
/
drivers
/
net
/
can
/
sja1000
/
peak_pci.c
diff --git
a/drivers/net/can/sja1000/peak_pci.c
b/drivers/net/can/sja1000/peak_pci.c
index
d1e7f10
..
6b6f0ad
100644
(file)
--- a/
drivers/net/can/sja1000/peak_pci.c
+++ b/
drivers/net/can/sja1000/peak_pci.c
@@
-402,7
+402,7
@@
static void peak_pciec_write_reg(const struct sja1000_priv *priv,
int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE;
/* sja1000 register changes control the leds state */
int c = (priv->reg_base - card->reg_base) / PEAK_PCI_CHAN_SIZE;
/* sja1000 register changes control the leds state */
- if (port ==
REG
_MOD)
+ if (port ==
SJA1000
_MOD)
switch (val) {
case MOD_RM:
/* Reset Mode: set led on */
switch (val) {
case MOD_RM:
/* Reset Mode: set led on */