ubee: this isn't a usable port but just keep the line in sync
authorAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:40:04 +0000 (22:40 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:40:04 +0000 (22:40 +0100)
Kernel/platform-ubee/devhd.c

index 21ab296..e2e170d 100644 (file)
@@ -115,7 +115,7 @@ static int hd_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
        } else if (rawflag == 2) {
                nblock = swapcnt >> 9;  /* in 512 byte chunks */
                dptr = (uint16_t)swapbase;
-               hd_page = swapproc->p_page;
+               hd_page = swappage;
                block = swapblk;
        } else
                goto bad2;