From 2ceba89ab21441364fc50d1abf41a4f1c6f68224 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Wed, 28 Feb 2018 17:44:54 +1030 Subject: 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 --- mboxd_pnor_partition_table.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mboxd_pnor_partition_table.cpp') 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 #include -struct vpnor_partition_table -{ - openpower::virtual_pnor::partition::Table *table = nullptr; -}; - int init_vpnor(struct mbox_context *context) { if (context && !context->vpnor) -- cgit v1.2.1