aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/ac.c2
-rw-r--r--drivers/char/sonypi.c2
-rw-r--r--drivers/dma/dmaengine.c6
-rw-r--r--drivers/md/md.c2
-rw-r--r--drivers/media/dvb/frontends/or51132.c4
-rw-r--r--drivers/media/video/sn9c102/sn9c102_sensor.h2
-rw-r--r--drivers/media/video/v4l1-compat.c2
-rw-r--r--drivers/misc/intel_menlow.c2
8 files changed, 11 insertions, 11 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 76b9bea98b6d..43a95e5640de 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -63,7 +63,7 @@ static int acpi_ac_add(struct acpi_device *device);
63static int acpi_ac_remove(struct acpi_device *device, int type); 63static int acpi_ac_remove(struct acpi_device *device, int type);
64static int acpi_ac_resume(struct acpi_device *device); 64static int acpi_ac_resume(struct acpi_device *device);
65 65
66const static struct acpi_device_id ac_device_ids[] = { 66static const struct acpi_device_id ac_device_ids[] = {
67 {"ACPI0003", 0}, 67 {"ACPI0003", 0},
68 {"", 0}, 68 {"", 0},
69}; 69};
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 921c6d2bc8fc..c03ad164c39a 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -1147,7 +1147,7 @@ static int sonypi_acpi_remove(struct acpi_device *device, int type)
1147 return 0; 1147 return 0;
1148} 1148}
1149 1149
1150const static struct acpi_device_id sonypi_device_ids[] = { 1150static const struct acpi_device_id sonypi_device_ids[] = {
1151 {"SNY6001", 0}, 1151 {"SNY6001", 0},
1152 {"", 0}, 1152 {"", 0},
1153}; 1153};
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index d6dc70fd7527..97b329e76798 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -42,9 +42,9 @@
42 * 42 *
43 * Each device has a kref, which is initialized to 1 when the device is 43 * Each device has a kref, which is initialized to 1 when the device is
44 * registered. A kref_get is done for each device registered. When the 44 * registered. A kref_get is done for each device registered. When the
45 * device is released, the coresponding kref_put is done in the release 45 * device is released, the corresponding kref_put is done in the release
46 * method. Every time one of the device's channels is allocated to a client, 46 * method. Every time one of the device's channels is allocated to a client,
47 * a kref_get occurs. When the channel is freed, the coresponding kref_put 47 * a kref_get occurs. When the channel is freed, the corresponding kref_put
48 * happens. The device's release function does a completion, so 48 * happens. The device's release function does a completion, so
49 * unregister_device does a remove event, device_unregister, a kref_put 49 * unregister_device does a remove event, device_unregister, a kref_put
50 * for the first reference, then waits on the completion for all other 50 * for the first reference, then waits on the completion for all other
@@ -53,7 +53,7 @@
53 * Each channel has an open-coded implementation of Rusty Russell's "bigref," 53 * Each channel has an open-coded implementation of Rusty Russell's "bigref,"
54 * with a kref and a per_cpu local_t. A dma_chan_get is called when a client 54 * with a kref and a per_cpu local_t. A dma_chan_get is called when a client
55 * signals that it wants to use a channel, and dma_chan_put is called when 55 * signals that it wants to use a channel, and dma_chan_put is called when
56 * a channel is removed or a client using it is unregesitered. A client can 56 * a channel is removed or a client using it is unregistered. A client can
57 * take extra references per outstanding transaction, as is the case with 57 * take extra references per outstanding transaction, as is the case with
58 * the NET DMA client. The release function does a kref_put on the device. 58 * the NET DMA client. The release function does a kref_put on the device.
59 * -ChrisL, DanW 59 * -ChrisL, DanW
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 61ccbd2683fa..5ebfb4d79901 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -4152,7 +4152,7 @@ static int hot_remove_disk(mddev_t * mddev, dev_t dev)
4152 4152
4153 return 0; 4153 return 0;
4154busy: 4154busy:
4155 printk(KERN_WARNING "md: cannot remove active disk %s from %s ... \n", 4155 printk(KERN_WARNING "md: cannot remove active disk %s from %s ...\n",
4156 bdevname(rdev->bdev,b), mdname(mddev)); 4156 bdevname(rdev->bdev,b), mdname(mddev));
4157 return -EBUSY; 4157 return -EBUSY;
4158} 4158}
diff --git a/drivers/media/dvb/frontends/or51132.c b/drivers/media/dvb/frontends/or51132.c
index 1d2d28ce823d..8ffb8daca031 100644
--- a/drivers/media/dvb/frontends/or51132.c
+++ b/drivers/media/dvb/frontends/or51132.c
@@ -91,7 +91,7 @@ static int or51132_writebuf(struct or51132_state *state, const u8 *buf, int len)
91 Less code and more efficient that loading a buffer on the stack with 91 Less code and more efficient that loading a buffer on the stack with
92 the bytes to send and then calling or51132_writebuf() on that. */ 92 the bytes to send and then calling or51132_writebuf() on that. */
93#define or51132_writebytes(state, data...) \ 93#define or51132_writebytes(state, data...) \
94 ({ const static u8 _data[] = {data}; \ 94 ({ static const u8 _data[] = {data}; \
95 or51132_writebuf(state, _data, sizeof(_data)); }) 95 or51132_writebuf(state, _data, sizeof(_data)); })
96 96
97/* Read data from demod into buffer. Returns 0 on success. */ 97/* Read data from demod into buffer. Returns 0 on success. */
@@ -132,7 +132,7 @@ static int or51132_readreg(struct or51132_state *state, u8 reg)
132static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware *fw) 132static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware *fw)
133{ 133{
134 struct or51132_state* state = fe->demodulator_priv; 134 struct or51132_state* state = fe->demodulator_priv;
135 const static u8 run_buf[] = {0x7F,0x01}; 135 static const u8 run_buf[] = {0x7F,0x01};
136 u8 rec_buf[8]; 136 u8 rec_buf[8];
137 u32 firmwareAsize, firmwareBsize; 137 u32 firmwareAsize, firmwareBsize;
138 int i,ret; 138 int i,ret;
diff --git a/drivers/media/video/sn9c102/sn9c102_sensor.h b/drivers/media/video/sn9c102/sn9c102_sensor.h
index 2d7d786b8430..2dc7c6869484 100644
--- a/drivers/media/video/sn9c102/sn9c102_sensor.h
+++ b/drivers/media/video/sn9c102/sn9c102_sensor.h
@@ -126,7 +126,7 @@ extern int sn9c102_write_regs(struct sn9c102_device*, const u8 valreg[][2],
126 Register adresses must be < 256. 126 Register adresses must be < 256.
127*/ 127*/
128#define sn9c102_write_const_regs(sn9c102_device, data...) \ 128#define sn9c102_write_const_regs(sn9c102_device, data...) \
129 ({ const static u8 _valreg[][2] = {data}; \ 129 ({ static const u8 _valreg[][2] = {data}; \
130 sn9c102_write_regs(sn9c102_device, _valreg, ARRAY_SIZE(_valreg)); }) 130 sn9c102_write_regs(sn9c102_device, _valreg, ARRAY_SIZE(_valreg)); })
131 131
132/*****************************************************************************/ 132/*****************************************************************************/
diff --git a/drivers/media/video/v4l1-compat.c b/drivers/media/video/v4l1-compat.c
index 50e1ff9f2be5..e3ac5e686075 100644
--- a/drivers/media/video/v4l1-compat.c
+++ b/drivers/media/video/v4l1-compat.c
@@ -126,7 +126,7 @@ set_v4l_control(struct inode *inode,
126 126
127/* ----------------------------------------------------------------- */ 127/* ----------------------------------------------------------------- */
128 128
129const static unsigned int palette2pixelformat[] = { 129static const unsigned int palette2pixelformat[] = {
130 [VIDEO_PALETTE_GREY] = V4L2_PIX_FMT_GREY, 130 [VIDEO_PALETTE_GREY] = V4L2_PIX_FMT_GREY,
131 [VIDEO_PALETTE_RGB555] = V4L2_PIX_FMT_RGB555, 131 [VIDEO_PALETTE_RGB555] = V4L2_PIX_FMT_RGB555,
132 [VIDEO_PALETTE_RGB565] = V4L2_PIX_FMT_RGB565, 132 [VIDEO_PALETTE_RGB565] = V4L2_PIX_FMT_RGB565,
diff --git a/drivers/misc/intel_menlow.c b/drivers/misc/intel_menlow.c
index de16e88eb8d3..0c0bb3093e07 100644
--- a/drivers/misc/intel_menlow.c
+++ b/drivers/misc/intel_menlow.c
@@ -213,7 +213,7 @@ static int intel_menlow_memory_remove(struct acpi_device *device, int type)
213 return 0; 213 return 0;
214} 214}
215 215
216const static struct acpi_device_id intel_menlow_memory_ids[] = { 216static const struct acpi_device_id intel_menlow_memory_ids[] = {
217 {"INT0002", 0}, 217 {"INT0002", 0},
218 {"", 0}, 218 {"", 0},
219}; 219};