Skip to content

Commit

Permalink
mtd: rawnand: export 'nand_exit_status_op()'
Browse files Browse the repository at this point in the history
Export this function to work in pair with 'nand_status_op()' which is
already exported.

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230705104403.696680-2-AVKrasnov@sberdevices.ru
  • Loading branch information
Arseniy Krasnov authored and Miquel Raynal committed Jul 12, 2023
1 parent b7c9b57 commit 079c8d9
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/nand/raw/nand_base.c
Original file line number Diff line number Diff line change
@@ -1885,6 +1885,7 @@ int nand_exit_status_op(struct nand_chip *chip)

return 0;
}
EXPORT_SYMBOL_GPL(nand_exit_status_op);

/**
* nand_erase_op - Do an erase operation
1 change: 1 addition & 0 deletions include/linux/mtd/rawnand.h
Original file line number Diff line number Diff line change
@@ -1540,6 +1540,7 @@ int nand_reset_op(struct nand_chip *chip);
int nand_readid_op(struct nand_chip *chip, u8 addr, void *buf,
unsigned int len);
int nand_status_op(struct nand_chip *chip, u8 *status);
int nand_exit_status_op(struct nand_chip *chip);
int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
int nand_read_page_op(struct nand_chip *chip, unsigned int page,
unsigned int offset_in_page, void *buf, unsigned int len);

0 comments on commit 079c8d9

Please sign in to comment.