Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275795
b: refs/heads/master
c: 59d81f8
h: refs/heads/master
i:
  275793: 4c4fed2
  275791: 9e1bf0d
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Nov 14, 2011
1 parent d3e79dc commit 02b488c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f39504de55ef69bb8d9d0a645949c5d0407faab
refs/heads/master: 59d81f8139bff0c2a94971ceec41edd42f16ed47
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/udc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static ssize_t usb_udc_speed_show(struct device *dev,
return snprintf(buf, PAGE_SIZE, "%s\n",
usb_speed_string(udc->gadget->speed));
}
static DEVICE_ATTR(speed, S_IRUSR, usb_udc_speed_show, NULL);
static DEVICE_ATTR(speed, S_IRUGO, usb_udc_speed_show, NULL);

#define USB_UDC_ATTR(name) \
ssize_t usb_udc_##name##_show(struct device *dev, \
Expand All @@ -389,7 +389,7 @@ ssize_t usb_udc_##name##_show(struct device *dev, \
\
return snprintf(buf, PAGE_SIZE, "%d\n", gadget->name); \
} \
static DEVICE_ATTR(name, S_IRUSR, usb_udc_##name##_show, NULL)
static DEVICE_ATTR(name, S_IRUGO, usb_udc_##name##_show, NULL)

static USB_UDC_ATTR(is_dualspeed);
static USB_UDC_ATTR(is_otg);
Expand Down

0 comments on commit 02b488c

Please sign in to comment.