diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-02-28 17:44:54 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-03-24 13:59:32 +1030 |
commit | 2ceba89ab21441364fc50d1abf41a4f1c6f68224 (patch) | |
tree | a11ac4a97874536c3907f4b0f161acd1d3f1ff2e /mboxd_pnor_partition_table.cpp | |
parent | bd38c21057cf58bc8977e0b2fc1497d73794be14 (diff) | |
download | phosphor-mboxd-2ceba89ab21441364fc50d1abf41a4f1c6f68224.tar.gz phosphor-mboxd-2ceba89ab21441364fc50d1abf41a4f1c6f68224.zip |
pnor_partition_table: Move struct vpnor_partition_table to header
Allow use of the definition in other parts of the codebase.
Change-Id: I5f4f23c909a09f12fd16728183aadbf36b565dba
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'mboxd_pnor_partition_table.cpp')
-rw-r--r-- | mboxd_pnor_partition_table.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mboxd_pnor_partition_table.cpp b/mboxd_pnor_partition_table.cpp index 49afeb0..2d7cf8f 100644 --- a/mboxd_pnor_partition_table.cpp +++ b/mboxd_pnor_partition_table.cpp @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2018 IBM Corp. #include "mboxd_pnor_partition_table.h" +#include "pnor_partition_table.hpp" #include "common.h" #include "mbox.h" #include "mboxd_flash.h" @@ -10,11 +11,6 @@ #include <phosphor-logging/elog-errors.hpp> #include <experimental/filesystem> -struct vpnor_partition_table -{ - openpower::virtual_pnor::partition::Table *table = nullptr; -}; - int init_vpnor(struct mbox_context *context) { if (context && !context->vpnor) |