diff options
Diffstat (limited to 'drivers/media/video/sn9c102/sn9c102.h')
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102.h b/drivers/media/video/sn9c102/sn9c102.h index 1d70a62b9f23..2c6ff396dafc 100644 --- a/drivers/media/video/sn9c102/sn9c102.h +++ b/drivers/media/video/sn9c102/sn9c102.h | |||
@@ -164,7 +164,7 @@ sn9c102_match_id(struct sn9c102_device* cam, const struct usb_device_id *id) | |||
164 | 164 | ||
165 | void | 165 | void |
166 | sn9c102_attach_sensor(struct sn9c102_device* cam, | 166 | sn9c102_attach_sensor(struct sn9c102_device* cam, |
167 | struct sn9c102_sensor* sensor) | 167 | struct sn9c102_sensor* sensor) |
168 | { | 168 | { |
169 | memcpy(&cam->sensor, sensor, sizeof(struct sn9c102_sensor)); | 169 | memcpy(&cam->sensor, sensor, sizeof(struct sn9c102_sensor)); |
170 | } | 170 | } |
@@ -183,7 +183,7 @@ do { \ | |||
183 | dev_info(&cam->usbdev->dev, fmt "\n", ## args); \ | 183 | dev_info(&cam->usbdev->dev, fmt "\n", ## args); \ |
184 | else if ((level) >= 3) \ | 184 | else if ((level) >= 3) \ |
185 | dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \ | 185 | dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \ |
186 | __FUNCTION__, __LINE__ , ## args); \ | 186 | __FUNCTION__, __LINE__ , ## args); \ |
187 | } \ | 187 | } \ |
188 | } while (0) | 188 | } while (0) |
189 | # define V4LDBG(level, name, cmd) \ | 189 | # define V4LDBG(level, name, cmd) \ |
@@ -198,7 +198,7 @@ do { \ | |||
198 | pr_info("sn9c102: " fmt "\n", ## args); \ | 198 | pr_info("sn9c102: " fmt "\n", ## args); \ |
199 | else if ((level) == 3) \ | 199 | else if ((level) == 3) \ |
200 | pr_debug("sn9c102: [%s:%d] " fmt "\n", __FUNCTION__, \ | 200 | pr_debug("sn9c102: [%s:%d] " fmt "\n", __FUNCTION__, \ |
201 | __LINE__ , ## args); \ | 201 | __LINE__ , ## args); \ |
202 | } \ | 202 | } \ |
203 | } while (0) | 203 | } while (0) |
204 | #else | 204 | #else |
@@ -210,7 +210,7 @@ do { \ | |||
210 | #undef PDBG | 210 | #undef PDBG |
211 | #define PDBG(fmt, args...) \ | 211 | #define PDBG(fmt, args...) \ |
212 | dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \ | 212 | dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \ |
213 | __FUNCTION__, __LINE__ , ## args) | 213 | __FUNCTION__, __LINE__ , ## args) |
214 | 214 | ||
215 | #undef PDBGG | 215 | #undef PDBGG |
216 | #define PDBGG(fmt, args...) do {;} while(0) /* placeholder */ | 216 | #define PDBGG(fmt, args...) do {;} while(0) /* placeholder */ |