Commit ce67943e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] em28xx: some cosmetic changes

In order to make easier for the next patches, do some
cosmetic changes.

No functional changes.
Reviewed-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 0560f337
...@@ -2106,7 +2106,7 @@ struct em28xx_board em28xx_boards[] = { ...@@ -2106,7 +2106,7 @@ struct em28xx_board em28xx_boards[] = {
}, },
/* 1b80:e1cc Delock 61959 /* 1b80:e1cc Delock 61959
* Empia EM2874B + Micronas DRX 3913KA2 + NXP TDA18271HDC2 * Empia EM2874B + Micronas DRX 3913KA2 + NXP TDA18271HDC2
* mostly the same as MaxMedia UB-425-TC but different remote */ * mostly the same as MaxMedia UB-425-TC but different remote */
[EM2874_BOARD_DELOCK_61959] = { [EM2874_BOARD_DELOCK_61959] = {
.name = "Delock 61959", .name = "Delock 61959",
.tuner_type = TUNER_ABSENT, .tuner_type = TUNER_ABSENT,
......
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
#define DRIVER_DESC "Empia em28xx based USB video device driver" #define DRIVER_DESC "Empia em28xx based USB video device driver"
#define EM28XX_VERSION "0.2.0"
static unsigned int isoc_debug; static unsigned int isoc_debug;
module_param(isoc_debug, int, 0644); module_param(isoc_debug, int, 0644);
MODULE_PARM_DESC(isoc_debug, "enable debug messages [isoc transfers]"); MODULE_PARM_DESC(isoc_debug, "enable debug messages [isoc transfers]");
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#ifndef _EM28XX_H #ifndef _EM28XX_H
#define _EM28XX_H #define _EM28XX_H
#define EM28XX_VERSION "0.2.0"
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/mutex.h> #include <linux/mutex.h>
...@@ -522,9 +524,12 @@ struct em28xx { ...@@ -522,9 +524,12 @@ struct em28xx {
int model; /* index in the device_data struct */ int model; /* index in the device_data struct */
int devno; /* marks the number of this device */ int devno; /* marks the number of this device */
enum em28xx_chip_id chip_id; enum em28xx_chip_id chip_id;
unsigned int is_em25xx:1; /* em25xx/em276x/7x/8x family bridge */
unsigned int is_em25xx:1; /* em25xx/em276x/7x/8x family bridge */
unsigned char disconnected:1; /* device has been diconnected */ unsigned char disconnected:1; /* device has been diconnected */
unsigned int has_audio_class:1;
unsigned int has_alsa_audio:1;
unsigned int is_audio_only:1;
int audio_ifnum; int audio_ifnum;
...@@ -544,10 +549,6 @@ struct em28xx { ...@@ -544,10 +549,6 @@ struct em28xx {
/* Vinmode/Vinctl used at the driver */ /* Vinmode/Vinctl used at the driver */
int vinmode, vinctl; int vinmode, vinctl;
unsigned int has_audio_class:1;
unsigned int has_alsa_audio:1;
unsigned int is_audio_only:1;
/* Controls audio streaming */ /* Controls audio streaming */
struct work_struct wq_trigger; /* Trigger to start/stop audio for alsa module */ struct work_struct wq_trigger; /* Trigger to start/stop audio for alsa module */
atomic_t stream_started; /* stream should be running if true */ atomic_t stream_started; /* stream should be running if true */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment