]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] ieee1394: replace __inline__ by inline
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 3 Jul 2006 16:02:28 +0000 (12:02 -0400)
committerBen Collins <bcollins@ubuntu.com>
Mon, 3 Jul 2006 16:02:28 +0000 (12:02 -0400)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
drivers/ieee1394/ieee1394_types.h
drivers/ieee1394/ohci1394.c
drivers/ieee1394/sbp2.c

index 3165609ec1ec3019a03f19fa8e0ff7775466bc7d..440d977031e3c6df7e919a95e6d285a7bb8ac1f5 100644 (file)
@@ -75,7 +75,7 @@ typedef u16 arm_length_t;
 
 #ifdef __BIG_ENDIAN
 
-static __inline__ void *memcpy_le32(u32 *dest, const u32 *__src, size_t count)
+static inline void *memcpy_le32(u32 *dest, const u32 *__src, size_t count)
 {
         void *tmp = dest;
        u32 *src = (u32 *)__src;
index d4bad6704bbe2dcf5d6f5ab6fcc4b0fd69f2080b..2283005e3035ae7ee18c9b6f610e910443e81e7c 100644 (file)
@@ -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;
 
index b08755e2e68f31115ff11920f598835001ea0bd3..baa063c9e6e3e5b2b8b4296caa74d64caee03cbb 100644 (file)
@@ -356,7 +356,7 @@ static const struct {
 /*
  * Converts a buffer from be32 to cpu byte ordering. Length is in bytes.
  */
-static __inline__ void sbp2util_be32_to_cpu_buffer(void *buffer, int length)
+static inline void sbp2util_be32_to_cpu_buffer(void *buffer, int length)
 {
        u32 *temp = buffer;
 
@@ -369,7 +369,7 @@ static __inline__ void sbp2util_be32_to_cpu_buffer(void *buffer, int length)
 /*
  * Converts a buffer from cpu to be32 byte ordering. Length is in bytes.
  */
-static __inline__ void sbp2util_cpu_to_be32_buffer(void *buffer, int length)
+static inline void sbp2util_cpu_to_be32_buffer(void *buffer, int length)
 {
        u32 *temp = buffer;