r852.c (716bbbabcc68c2b0e1b805d369c0bd58f4fdea30) r852.c (bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543)
1/*
2 * Copyright © 2009 - Maxim Levitsky
3 * driver for Ricoh xD readers
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 839 unchanged lines hidden (view full) ---

848
849 /* init nand chip, but register it only on card insert */
850 chip = kzalloc(sizeof(struct nand_chip), GFP_KERNEL);
851
852 if (!chip)
853 goto error4;
854
855 /* commands */
1/*
2 * Copyright © 2009 - Maxim Levitsky
3 * driver for Ricoh xD readers
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 839 unchanged lines hidden (view full) ---

848
849 /* init nand chip, but register it only on card insert */
850 chip = kzalloc(sizeof(struct nand_chip), GFP_KERNEL);
851
852 if (!chip)
853 goto error4;
854
855 /* commands */
856 chip->cmd_ctrl = r852_cmdctl;
856 chip->legacy.cmd_ctrl = r852_cmdctl;
857 chip->waitfunc = r852_wait;
858 chip->dev_ready = r852_ready;
859
860 /* I/O */
861 chip->legacy.read_byte = r852_read_byte;
862 chip->legacy.read_buf = r852_read_buf;
863 chip->legacy.write_buf = r852_write_buf;
864

--- 218 unchanged lines hidden ---
857 chip->waitfunc = r852_wait;
858 chip->dev_ready = r852_ready;
859
860 /* I/O */
861 chip->legacy.read_byte = r852_read_byte;
862 chip->legacy.read_buf = r852_read_buf;
863 chip->legacy.write_buf = r852_write_buf;
864

--- 218 unchanged lines hidden ---