diff options
Diffstat (limited to 'drivers/sbus/char/openprom.c')
-rw-r--r-- | drivers/sbus/char/openprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 2236aea3ca2f..5843288f64bc 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c | |||
@@ -222,7 +222,7 @@ static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp | |||
222 | case OPROMSETCUR: | 222 | case OPROMSETCUR: |
223 | default: | 223 | default: |
224 | break; | 224 | break; |
225 | }; | 225 | } |
226 | } else { | 226 | } else { |
227 | /* Sibling of node zero is the root node. */ | 227 | /* Sibling of node zero is the root node. */ |
228 | if (cmd != OPROMNEXT) | 228 | if (cmd != OPROMNEXT) |
@@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file, | |||
588 | default: | 588 | default: |
589 | err = -EINVAL; | 589 | err = -EINVAL; |
590 | break; | 590 | break; |
591 | }; | 591 | } |
592 | mutex_unlock(&openprom_mutex); | 592 | mutex_unlock(&openprom_mutex); |
593 | 593 | ||
594 | return err; | 594 | return err; |