--- a/drivers/bluetooth/bluecard_cs.c
+++ b/drivers/bluetooth/bluecard_cs.c
-@@ -158,7 +158,12 @@ static void bluecard_detach(struct pcmci
+@@ -157,7 +157,12 @@ static void bluecard_detach(struct pcmci
static void bluecard_activity_led_timeout(u_long arg)
{
bluecard_info_t *info = (bluecard_info_t *)arg;
if (!test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state)))
return;
-@@ -175,7 +180,11 @@ static void bluecard_activity_led_timeou
+@@ -174,7 +179,11 @@ static void bluecard_activity_led_timeou
static void bluecard_enable_activity_led(bluecard_info_t *info)
{
if (!test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state)))
return;
-@@ -231,7 +240,11 @@ static void bluecard_write_wakeup(blueca
+@@ -230,7 +239,11 @@ static void bluecard_write_wakeup(blueca
}
do {
unsigned int offset;
unsigned char command;
unsigned long ready_bit;
-@@ -378,7 +391,11 @@ static void bluecard_receive(bluecard_in
+@@ -377,7 +390,11 @@ static void bluecard_receive(bluecard_in
return;
}
if (test_bit(XMIT_SENDING_READY, &(info->tx_state)))
bluecard_enable_activity_led(info);
-@@ -506,7 +523,11 @@ static irqreturn_t bluecard_interrupt(in
+@@ -505,7 +522,11 @@ static irqreturn_t bluecard_interrupt(in
if (!test_bit(CARD_READY, &(info->hw_state)))
return IRQ_HANDLED;
spin_lock(&(info->lock));
-@@ -628,7 +649,11 @@ static int bluecard_hci_open(struct hci_
+@@ -627,7 +648,11 @@ static int bluecard_hci_open(struct hci_
return 0;
if (test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) {
/* Enable LED */
outb(0x08 | 0x20, iobase + 0x30);
-@@ -648,7 +673,11 @@ static int bluecard_hci_close(struct hci
+@@ -647,7 +672,11 @@ static int bluecard_hci_close(struct hci
bluecard_hci_flush(hdev);
if (test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) {
/* Disable LED */
outb(0x00, iobase + 0x30);
-@@ -690,7 +719,11 @@ static int bluecard_hci_send_frame(struc
+@@ -689,7 +718,11 @@ static int bluecard_hci_send_frame(struc
static int bluecard_open(bluecard_info_t *info)
{
struct hci_dev *hdev;
unsigned char id;
-@@ -805,7 +838,11 @@ static int bluecard_open(bluecard_info_t
+@@ -804,7 +837,11 @@ static int bluecard_open(bluecard_info_t
static int bluecard_close(bluecard_info_t *info)
{
struct hci_dev *hdev = info->hdev;
if (!hdev)
-@@ -840,7 +877,18 @@ static int bluecard_probe(struct pcmcia_
+@@ -839,7 +876,18 @@ static int bluecard_probe(struct pcmcia_
info->p_dev = link;
link->priv = info;
return bluecard_config(link);
}
-@@ -857,15 +905,30 @@ static int bluecard_config(struct pcmcia
+@@ -856,15 +904,30 @@ static int bluecard_config(struct pcmcia
bluecard_info_t *info = link->priv;
int i, n;
if (i == 0)
break;
}
-@@ -873,9 +936,15 @@ static int bluecard_config(struct pcmcia
+@@ -872,9 +935,15 @@ static int bluecard_config(struct pcmcia
if (i != 0)
goto failed;
i = pcmcia_enable_device(link);
if (i != 0)
-@@ -913,7 +982,13 @@ MODULE_DEVICE_TABLE(pcmcia, bluecard_ids
+@@ -912,7 +981,13 @@ MODULE_DEVICE_TABLE(pcmcia, bluecard_ids
static struct pcmcia_driver bluecard_driver = {
.owner = THIS_MODULE,
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
-@@ -186,7 +186,11 @@ static void bt3c_write_wakeup(bt3c_info_
+@@ -185,7 +185,11 @@ static void bt3c_write_wakeup(bt3c_info_
return;
do {
register struct sk_buff *skb;
int len;
-@@ -224,7 +228,11 @@ static void bt3c_receive(bt3c_info_t *in
+@@ -223,7 +227,11 @@ static void bt3c_receive(bt3c_info_t *in
return;
}
avail = bt3c_read(iobase, 0x7006);
//printk("bt3c_cs: receiving %d bytes\n", avail);
-@@ -344,7 +352,11 @@ static irqreturn_t bt3c_interrupt(int ir
+@@ -343,7 +351,11 @@ static irqreturn_t bt3c_interrupt(int ir
/* our irq handler is shared */
return IRQ_NONE;
spin_lock(&(info->lock));
-@@ -458,7 +470,11 @@ static int bt3c_load_firmware(bt3c_info_
+@@ -457,7 +469,11 @@ static int bt3c_load_firmware(bt3c_info_
unsigned int iobase, size, addr, fcs, tmp;
int i, err = 0;
/* Reset */
bt3c_io_write(iobase, 0x8040, 0x0404);
-@@ -629,8 +645,27 @@ static int bt3c_probe(struct pcmcia_devi
+@@ -628,8 +644,27 @@ static int bt3c_probe(struct pcmcia_devi
info->p_dev = link;
link->priv = info;
return bt3c_config(link);
}
-@@ -641,6 +676,7 @@ static void bt3c_detach(struct pcmcia_de
+@@ -640,6 +675,7 @@ static void bt3c_detach(struct pcmcia_de
bt3c_release(link);
}
static int bt3c_check_config(struct pcmcia_device *p_dev, void *priv_data)
{
int *try = priv_data;
-@@ -679,6 +715,63 @@ static int bt3c_check_config_notpicky(st
+@@ -678,6 +714,63 @@ static int bt3c_check_config_notpicky(st
}
return -ENODEV;
}
static int bt3c_config(struct pcmcia_device *link)
{
-@@ -702,9 +795,15 @@ static int bt3c_config(struct pcmcia_dev
+@@ -701,9 +794,15 @@ static int bt3c_config(struct pcmcia_dev
goto failed;
found_port:
i = pcmcia_enable_device(link);
if (i != 0)
-@@ -739,7 +838,13 @@ MODULE_DEVICE_TABLE(pcmcia, bt3c_ids);
+@@ -738,7 +837,13 @@ MODULE_DEVICE_TABLE(pcmcia, bt3c_ids);
static struct pcmcia_driver bt3c_driver = {
.owner = THIS_MODULE,
--- a/drivers/bluetooth/btuart_cs.c
+++ b/drivers/bluetooth/btuart_cs.c
-@@ -140,7 +140,11 @@ static void btuart_write_wakeup(btuart_i
+@@ -139,7 +139,11 @@ static void btuart_write_wakeup(btuart_i
}
do {
register struct sk_buff *skb;
int len;
-@@ -181,7 +185,11 @@ static void btuart_receive(btuart_info_t
+@@ -180,7 +184,11 @@ static void btuart_receive(btuart_info_t
return;
}
do {
info->hdev->stat.byte_rx++;
-@@ -294,7 +302,11 @@ static irqreturn_t btuart_interrupt(int
+@@ -293,7 +301,11 @@ static irqreturn_t btuart_interrupt(int
/* our irq handler is shared */
return IRQ_NONE;
spin_lock(&(info->lock));
-@@ -351,7 +363,11 @@ static void btuart_change_speed(btuart_i
+@@ -350,7 +362,11 @@ static void btuart_change_speed(btuart_i
return;
}
spin_lock_irqsave(&(info->lock), flags);
-@@ -456,7 +472,11 @@ static int btuart_hci_send_frame(struct
+@@ -455,7 +471,11 @@ static int btuart_hci_send_frame(struct
static int btuart_open(btuart_info_t *info)
{
unsigned long flags;
struct hci_dev *hdev;
spin_lock_init(&(info->lock));
-@@ -522,7 +542,11 @@ static int btuart_open(btuart_info_t *in
+@@ -521,7 +541,11 @@ static int btuart_open(btuart_info_t *in
static int btuart_close(btuart_info_t *info)
{
unsigned long flags;
struct hci_dev *hdev = info->hdev;
if (!hdev)
-@@ -558,8 +582,27 @@ static int btuart_probe(struct pcmcia_de
+@@ -557,8 +581,27 @@ static int btuart_probe(struct pcmcia_de
info->p_dev = link;
link->priv = info;
return btuart_config(link);
}
-@@ -570,6 +613,7 @@ static void btuart_detach(struct pcmcia_
+@@ -569,6 +612,7 @@ static void btuart_detach(struct pcmcia_
btuart_release(link);
}
static int btuart_check_config(struct pcmcia_device *p_dev, void *priv_data)
{
int *try = priv_data;
-@@ -608,6 +652,63 @@ static int btuart_check_config_notpicky(
+@@ -607,6 +651,63 @@ static int btuart_check_config_notpicky(
}
return -ENODEV;
}
static int btuart_config(struct pcmcia_device *link)
{
-@@ -631,9 +732,15 @@ static int btuart_config(struct pcmcia_d
+@@ -630,9 +731,15 @@ static int btuart_config(struct pcmcia_d
goto failed;
found_port:
i = pcmcia_enable_device(link);
if (i != 0)
-@@ -667,7 +774,13 @@ MODULE_DEVICE_TABLE(pcmcia, btuart_ids);
+@@ -666,7 +773,13 @@ MODULE_DEVICE_TABLE(pcmcia, btuart_ids);
static struct pcmcia_driver btuart_driver = {
.owner = THIS_MODULE,
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
-@@ -144,7 +144,11 @@ static void dtl1_write_wakeup(dtl1_info_
+@@ -143,7 +143,11 @@ static void dtl1_write_wakeup(dtl1_info_
}
do {
register struct sk_buff *skb;
int len;
-@@ -209,7 +213,11 @@ static void dtl1_receive(dtl1_info_t *in
+@@ -208,7 +212,11 @@ static void dtl1_receive(dtl1_info_t *in
return;
}
do {
info->hdev->stat.byte_rx++;
-@@ -295,7 +303,11 @@ static irqreturn_t dtl1_interrupt(int ir
+@@ -294,7 +302,11 @@ static irqreturn_t dtl1_interrupt(int ir
/* our irq handler is shared */
return IRQ_NONE;
spin_lock(&(info->lock));
-@@ -436,7 +448,11 @@ static int dtl1_hci_send_frame(struct hc
+@@ -435,7 +447,11 @@ static int dtl1_hci_send_frame(struct hc
static int dtl1_open(dtl1_info_t *info)
{
unsigned long flags;
struct hci_dev *hdev;
spin_lock_init(&(info->lock));
-@@ -479,8 +495,13 @@ static int dtl1_open(dtl1_info_t *info)
+@@ -478,8 +494,13 @@ static int dtl1_open(dtl1_info_t *info)
outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */
outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR);
/* Turn on interrupts */
outb(UART_IER_RLSI | UART_IER_RDI | UART_IER_THRI, iobase + UART_IER);
-@@ -505,7 +526,11 @@ static int dtl1_open(dtl1_info_t *info)
+@@ -504,7 +525,11 @@ static int dtl1_open(dtl1_info_t *info)
static int dtl1_close(dtl1_info_t *info)
{
unsigned long flags;
struct hci_dev *hdev = info->hdev;
if (!hdev)
-@@ -541,7 +566,24 @@ static int dtl1_probe(struct pcmcia_devi
+@@ -540,7 +565,24 @@ static int dtl1_probe(struct pcmcia_devi
info->p_dev = link;
link->priv = info;
return dtl1_config(link);
}
-@@ -555,6 +597,7 @@ static void dtl1_detach(struct pcmcia_de
+@@ -554,6 +596,7 @@ static void dtl1_detach(struct pcmcia_de
pcmcia_disable_device(link);
}
static int dtl1_confcheck(struct pcmcia_device *p_dev, void *priv_data)
{
if ((p_dev->resource[1]->end) || (p_dev->resource[1]->end < 8))
-@@ -565,6 +608,29 @@ static int dtl1_confcheck(struct pcmcia_
+@@ -564,6 +607,29 @@ static int dtl1_confcheck(struct pcmcia_
return pcmcia_request_io(p_dev);
}
static int dtl1_config(struct pcmcia_device *link)
{
-@@ -572,14 +638,24 @@ static int dtl1_config(struct pcmcia_dev
+@@ -571,14 +637,24 @@ static int dtl1_config(struct pcmcia_dev
int ret;
/* Look for a generic full-sized window */
ret = pcmcia_enable_device(link);
if (ret)
-@@ -607,7 +683,13 @@ MODULE_DEVICE_TABLE(pcmcia, dtl1_ids);
+@@ -606,7 +682,13 @@ MODULE_DEVICE_TABLE(pcmcia, dtl1_ids);
static struct pcmcia_driver dtl1_driver = {
.owner = THIS_MODULE,
--- a/drivers/media/pci/bt8xx/dst.c
+++ b/drivers/media/pci/bt8xx/dst.c
-@@ -1544,7 +1544,7 @@ static int dst_send_burst(struct dvb_fro
+@@ -1543,7 +1543,7 @@ static int dst_send_burst(struct dvb_fro
}
{
struct dst_state *state = fe->demodulator_priv;
-@@ -1707,7 +1707,7 @@ static int dst_get_frontend(struct dvb_f
+@@ -1706,7 +1706,7 @@ static int dst_get_frontend(struct dvb_f
return 0;
}
{
struct dst_state *state = fe->demodulator_priv;
if (state->dst_ca) {
-@@ -1776,8 +1776,8 @@ static struct dvb_frontend_ops dst_dvbt_
+@@ -1775,8 +1775,8 @@ static struct dvb_frontend_ops dst_dvbt_
FE_CAN_GUARD_INTERVAL_AUTO
},
.tune = dst_tune_frontend,
.set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend,
-@@ -1801,8 +1801,8 @@ static struct dvb_frontend_ops dst_dvbs_
+@@ -1800,8 +1800,8 @@ static struct dvb_frontend_ops dst_dvbs_
.caps = FE_CAN_FEC_AUTO | FE_CAN_QPSK
},
.tune = dst_tune_frontend,
.set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend,
-@@ -1834,8 +1834,8 @@ static struct dvb_frontend_ops dst_dvbc_
+@@ -1833,8 +1833,8 @@ static struct dvb_frontend_ops dst_dvbc_
FE_CAN_QAM_256
},
.tune = dst_tune_frontend,
.set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend,
-@@ -1857,8 +1857,8 @@ static struct dvb_frontend_ops dst_atsc_
+@@ -1856,8 +1856,8 @@ static struct dvb_frontend_ops dst_atsc_
.caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
},