more gcc3.4 inline fixes [8/10]
Subsystems (2)
PATCH 1/1 more gcc3.4 inline fixes [8/10]
drivers/usb/ov511.c renamed from drivers/usb/ov511.c~ +3 -3
@@ -334,8 +334,8 @@**********************************************************************/ static void ov51x_clear_snapshot (struct usb_ov511 *); -static inline int sensor_get_picture (struct usb_ov511 *, -struct video_picture *); +static int sensor_get_picture (struct usb_ov511 *, +struct video_picture *);#if defined(CONFIG_PROC_FS ) && defined(CONFIG_VIDEO_PROC_FS )static int sensor_get_exposure (struct usb_ov511 *,unsigned char *); static int ov51x_control_ioctl(struct inode *, struct file *, unsigned int,
@@ -2014,7 +2014,7 @@return 0 ; } -static inline int +static int sensor_get_picture (struct usb_ov511 *ov,struct video_picture *p) {int rc;
drivers/usb/w9968cf.c renamed from drivers/usb/w9968cf.c~ +5 -5
@@ -444,8 +444,8 @@/* High-level CMOS sensor control functions */ static int w9968cf_sensor_set_control (struct w9968cf_device *,int cid,int val);static int w9968cf_sensor_get_control (struct w9968cf_device *,int cid,int *val); -static inline int w9968cf_sensor_cmd (struct w9968cf_device *, -unsigned int cmd,void *arg); +static int w9968cf_sensor_cmd (struct w9968cf_device *, +unsigned int cmd,void *arg);static int w9968cf_sensor_init (struct w9968cf_device *);static int w9968cf_sensor_update_settings (struct w9968cf_device *);static int w9968cf_sensor_get_picture (struct w9968cf_device *);
@@ -461,7 +461,7 @@static int w9968cf_set_picture (struct w9968cf_device *,struct video_picture );static int w9968cf_set_window (struct w9968cf_device *,struct video_window );static inline u16 w9968cf_valid_palette (u16 palette); -static inline u16 w9968cf_valid_depth (u16 palette); +static u16 w9968cf_valid_depth (u16 palette);static inline u8 w9968cf_need_decompression (u16 palette);static int w9968cf_postprocess_frame (struct w9968cf_device *,struct w9968cf_frame_t *);
@@ -2199,7 +2199,7 @@Return the depth corresponding to the given palette. Palette _must_ be supported ! --------------------------------------------------------------------------*/ -static inline u16 w9968cf_valid_depth (u16 palette) +static u16 w9968cf_valid_depth (u16 palette) {u8 i=0 ;while (w9968cf_formatlist[i].palette != palette)
@@ -2418,7 +2418,7 @@ } -static inline int +static int w9968cf_sensor_cmd (struct w9968cf_device * cam,unsigned int cmd,void * arg) {struct i2c_client * c = cam->sensor_client;
drivers/usb/se401.c renamed from drivers/usb/se401.c~ +38 -38
88 lines not on this page · raw message
drivers/usb/host/hc_sl811.c renamed from drivers/usb/host/hc_sl811.c~ +3 -3
@@ -117,9 +117,6 @@static int urb_debug =0 ; -#include "hc_simple.c" -#include "hc_sl811_rh.c" -/* Include hardware and board depens */ #include <asm/hc_sl811-hw.h>
@@ -601,6 +598,9 @@return 0 ; } +#include "hc_simple.c" +#include "hc_sl811_rh.c" +/************************************************************************ * Function Name : hc_start_int *
drivers/video/riva/fbdev.c renamed from drivers/video/riva/fbdev.c~ +1 -1
@@ -117,7 +117,7 @@static void rivafb_blank (int blank,struct fb_info *info);extern void riva_setup_accel (struct rivafb_info *rinfo); -extern inline void wait_for_idle (struct rivafb_info *rinfo); +extern void wait_for_idle (struct rivafb_info *rinfo);