X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=bt-vhci.c;h=679c5e05d7da30ef6c03adab098389061e77565d;hb=31ff504d2a00f3528837e4474f9650935edee1a4;hp=146939313d59cae23cf2017c834af512326f3bef;hpb=ab2b6f507ded382df734fe6a237ec56e2f421de4;p=qemu
diff --git a/bt-vhci.c b/bt-vhci.c
index 1469393..679c5e0 100644
--- a/bt-vhci.c
+++ b/bt-vhci.c
@@ -13,10 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, see .
*/
#include "qemu-common.h"
@@ -25,9 +23,7 @@
#include "net.h"
#include "hw/bt.h"
-#include
-
-#define VHCI_DEV "/dev/vhci"
+#define VHCI_DEV "/dev/vhci"
#define VHCI_UDEV "/dev/hci_vhci"
struct bt_vhci_s {
@@ -168,5 +164,5 @@ void bt_vhci_init(struct HCIInfo *info)
s->info->evt_recv = vhci_out_hci_packet_event;
s->info->acl_recv = vhci_out_hci_packet_acl;
- qemu_set_fd_handler(s->fd, vhci_read, 0, s);
+ qemu_set_fd_handler(s->fd, vhci_read, NULL, s);
}