]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/uwb/lc-dev.c
regression: disable timer peek-ahead for 2.6.28
[linux-2.6-omap-h63xx.git] / drivers / uwb / lc-dev.c
index a6cb8ad731a6ce132d85a6cdbc7f20a6db0a4a9c..15f856c9689af8b3d728d4bd67f9be971b52d7b6 100644 (file)
@@ -443,7 +443,7 @@ void uwbd_dev_onair(struct uwb_rc *rc, struct uwb_beca_e *bce)
 
        uwb_mac_addr_print(macbuf, sizeof(macbuf), bce->mac_addr);
        uwb_dev_addr_print(devbuf, sizeof(devbuf), &bce->dev_addr);
-       uwb_dev = kcalloc(1, sizeof(*uwb_dev), GFP_KERNEL);
+       uwb_dev = kzalloc(sizeof(struct uwb_dev), GFP_KERNEL);
        if (uwb_dev == NULL) {
                dev_err(dev, "new device %s: Cannot allocate memory\n",
                        macbuf);