rslib: Split rs control struct
[linux-2.6-block.git] / lib / reed_solomon / decode_rs.c
index d61007ade4a08d5518eded509a49be824ecffac5..794cced31c75f8493809f510e164b5c0495c7073 100644 (file)
@@ -10,6 +10,7 @@
  * Generic data width independent code which is included by the wrappers.
  */
 {
+       struct rs_codec *rs = rsc->codec;
        int deg_lambda, el, deg_omega;
        int i, j, r, k, pad;
        int nn = rs->nn;