diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2018-08-08 16:47:54 +0930 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2018-09-05 17:44:24 +0930 |
| commit | d6b09bc5a170dc06ca4f114635013ddc5e39efbd (patch) | |
| tree | d188ba8f959b55e5962bbcc62c65c377e9fd740e /test | |
| parent | 71eaa7329c8351e9d47ee05ece1ae7b486f3c81a (diff) | |
| download | phosphor-mboxbridge-d6b09bc5a170dc06ca4f114635013ddc5e39efbd.tar.gz phosphor-mboxbridge-d6b09bc5a170dc06ca4f114635013ddc5e39efbd.zip | |
flash: Rename init_flash_dev to flash_dev_init
Change-Id: I6b9a916053baf09c34100dcb5262a4b66a44bc80
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test')
| -rw-r--r-- | test/erase_flash.c | 2 | ||||
| -rw-r--r-- | test/mbox.c | 2 | ||||
| -rw-r--r-- | test/write_flash.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/erase_flash.c b/test/erase_flash.c index 1a707a2..f4f4821 100644 --- a/test/erase_flash.c +++ b/test/erase_flash.c @@ -109,7 +109,7 @@ int main(void) n_ioctls = 0; recorded = NULL; - init_flash_dev(&context); + flash_dev_init(&context); /* Erase from an unknown state */ rc = erase_flash(&context, 0, sizeof(data)); diff --git a/test/mbox.c b/test/mbox.c index 7e03292..b45f42f 100644 --- a/test/mbox.c +++ b/test/mbox.c @@ -242,7 +242,7 @@ struct mbox_context *mbox_create_test_context(int n_windows, size_t len) assert(rc == 0); test.context.fds[MBOX_FD].fd = test.mbox.fd; - rc = init_flash_dev(&test.context); + rc = flash_dev_init(&test.context); assert(rc == 0); rc = fallocate(test.flash.fd, 0, 0, test.context.mtd_info.size); diff --git a/test/write_flash.c b/test/write_flash.c index b09e7de..4f37bef 100644 --- a/test/write_flash.c +++ b/test/write_flash.c @@ -63,7 +63,7 @@ int main(void) mbox_vlog = &mbox_log_console; - rc = init_flash_dev(context); + rc = flash_dev_init(context); assert(rc == 0); map = mmap(NULL, MEM_SIZE, PROT_READ, MAP_PRIVATE, tmp->fd, 0); |

