Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227607
b: refs/heads/master
c: 16ee4cc
h: refs/heads/master
i:
  227605: 0bc6e85
  227603: 6af48a0
  227599: 8c19aa2
v: v3
  • Loading branch information
Joe Perches authored and Jiri Kosina committed Dec 10, 2010
1 parent d7fcde4 commit 3dd7f2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: fe2580204d8bbcd18540736a283ed0b784c6a024
refs/heads/master: 16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605
10 changes: 5 additions & 5 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ static u32 s32ton(__s32 value, unsigned n)
* Search linux-kernel and linux-usb-devel archives for "hid-core extract".
*/

static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report,
unsigned offset, unsigned n)
static __u32 extract(const struct hid_device *hid, __u8 *report,
unsigned offset, unsigned n)
{
u64 x;

Expand All @@ -763,8 +763,8 @@ static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report,
* endianness of register values by considering a register
* a "cached" copy of the little endiad bit stream.
*/
static __inline__ void implement(const struct hid_device *hid, __u8 *report,
unsigned offset, unsigned n, __u32 value)
static void implement(const struct hid_device *hid, __u8 *report,
unsigned offset, unsigned n, __u32 value)
{
u64 x;
u64 m = (1ULL << n) - 1;
Expand Down Expand Up @@ -792,7 +792,7 @@ static __inline__ void implement(const struct hid_device *hid, __u8 *report,
* Search an array for a value.
*/

static __inline__ int search(__s32 *array, __s32 value, unsigned n)
static int search(__s32 *array, __s32 value, unsigned n)
{
while (n--) {
if (*array++ == value)
Expand Down

0 comments on commit 3dd7f2b

Please sign in to comment.