diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-07-03 18:02:28 +0200 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-07-03 18:02:28 +0200 |
commit | 2b01b80b944b3abf623c8acc2b5537a85b5ebd3c (patch) | |
tree | ab376b3d5da8aa0de91da1564c1eb518f7f22c6f /drivers/ieee1394/ohci1394.c | |
parent | [PATCH] ieee1394: skip dummy loop in build_speed_map (diff) | |
download | linux-2b01b80b944b3abf623c8acc2b5537a85b5ebd3c.tar.xz linux-2b01b80b944b3abf623c8acc2b5537a85b5ebd3c.zip |
[PATCH] ieee1394: replace __inline__ by inline
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index d4bad6704bbe..2283005e3035 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c @@ -2598,8 +2598,9 @@ static const int TCODE_SIZE[16] = {20, 0, 16, -1, 16, 20, 20, 0, * Determine the length of a packet in the buffer * Optimization suggested by Pascal Drolet <pascal.drolet@informission.ca> */ -static __inline__ int packet_length(struct dma_rcv_ctx *d, int idx, quadlet_t *buf_ptr, - int offset, unsigned char tcode, int noswap) +static inline int packet_length(struct dma_rcv_ctx *d, int idx, + quadlet_t *buf_ptr, int offset, + unsigned char tcode, int noswap) { int length = -1; |