kernel: move linux/ath9k_platform.h to generic files so that it can be reused from...
[openwrt.git] / target / linux / generic / files / crypto / ocf / kirkwood / cesa_ocf_drv.c
index fb51947..1d889ff 100644 (file)
@@ -27,10 +27,8 @@ disclaimer.
 *******************************************************************************/
 
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
-#include <generated/autoconf.h>
-#else
-#include <linux/autoconf.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED)
+#include <linux/config.h>
 #endif
 #include <linux/module.h>
 #include <linux/init.h>
@@ -501,7 +499,7 @@ cesa_ocf_process(device_t dev, struct cryptop *crp, int hint)
                                        if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) {
                                                dprintk("%s,%d: copy the IV back to the buffer\n", __FILE__, __LINE__);
                                                cesa_cmd->ivOffset = crd->crd_inject;
-                                               crypto_copy_bits_back(crp->crp_buf, crd->crd_inject, ivp, cesa_ocf_cur_ses->ivlen);
+                                               crypto_copyback(crp->crp_flags, crp->crp_buf, crd->crd_inject, cesa_ocf_cur_ses->ivlen, ivp);
                                        }
                                        else {
                                                dprintk("%s,%d: don't copy the IV back to the buffer \n", __FILE__, __LINE__);
This page took 0.02823 seconds and 4 git commands to generate.