staging: csr: remove CsrPmemAlloc
[deliverable/linux.git] / drivers / staging / csr / putest.c
index f2cb11e1b2107bda16039b8f3a840ce78a5fa141..5613cf0e16b0b10b842d09a9134633317335bd75 100644 (file)
@@ -489,7 +489,7 @@ int unifi_putest_dl_fw_buff(unifi_priv_t *priv, unsigned char *arg)
     }
 
     /* Buffer for kernel copy of the f/w image */
-    fw_buf = CsrPmemAlloc(fw_length);
+    fw_buf = kmalloc(fw_length, GFP_KERNEL);
     if (!fw_buf) {
         unifi_error(priv, "unifi_putest_dl_fw_buff: malloc fail\n");
         return -ENOMEM;
This page took 0.024914 seconds and 5 git commands to generate.