From 809311284d21f49648483f0cdc82609a1617c929 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 11 Nov 2010 10:34:09 -0300 Subject: [PATCH] lib/atusb.c: fix typo in function name - lib/atusb.c (atusd_interrupt, atusb_driver): we're in atusb.c, so the function name should begin with atusb_, not atusd_ --- tools/lib/atusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lib/atusb.c b/tools/lib/atusb.c index 41cfebd..06894a8 100644 --- a/tools/lib/atusb.c +++ b/tools/lib/atusb.c @@ -207,7 +207,7 @@ static int atusb_buf_read(void *dsc, void *buf, int size) /* ----- RF interrupt ------------------------------------------------------ */ -static int atusd_interrupt(void *dsc) +static int atusb_interrupt(void *dsc) { usb_dev_handle *dev = dsc; uint8_t buf; @@ -243,5 +243,5 @@ struct atrf_driver atusb_driver = { .reg_read = atusb_reg_read, .buf_write = atusb_buf_write, .buf_read = atusb_buf_read, - .interrupt = atusd_interrupt, + .interrupt = atusb_interrupt, };