Skip to content

Commit

Permalink
bt-hci-csr: drop unused argument
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
bonzini authored and Michael Tokarev committed Oct 8, 2016
1 parent e69f7d2 commit a1c2bbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions hw/arm/nseries.c
Expand Up @@ -786,8 +786,7 @@ static void n8x0_cbus_setup(struct n800_s *s)

static void n8x0_uart_setup(struct n800_s *s)
{
CharDriverState *radio = uart_hci_init(
qdev_get_gpio_in(s->mpu->gpio, N8X0_BT_HOST_WKUP_GPIO));
CharDriverState *radio = uart_hci_init();

qdev_connect_gpio_out(s->mpu->gpio, N8X0_BT_RESET_GPIO,
csrhci_pins_get(radio)[csrhci_pin_reset]);
Expand Down
2 changes: 1 addition & 1 deletion hw/bt/hci-csr.c
Expand Up @@ -458,7 +458,7 @@ qemu_irq *csrhci_pins_get(CharDriverState *chr)
return s->pins;
}

CharDriverState *uart_hci_init(qemu_irq wakeup)
CharDriverState *uart_hci_init(void)
{
struct csrhci_s *s = (struct csrhci_s *)
g_malloc0(sizeof(struct csrhci_s));
Expand Down
2 changes: 1 addition & 1 deletion include/hw/bt.h
Expand Up @@ -128,7 +128,7 @@ enum {
__csrhci_pins,
};
qemu_irq *csrhci_pins_get(CharDriverState *chr);
CharDriverState *uart_hci_init(qemu_irq wakeup);
CharDriverState *uart_hci_init(void);

/* bt-l2cap.c */
struct bt_l2cap_device_s;
Expand Down

0 comments on commit a1c2bbc

Please sign in to comment.