bugfix: make remove_intx_remapping static

remove_intx_remapping is not global function, make static.

Unlike global functions in C, access to static functions is restricted to the file where they are declared. Another reason for making functions static can be reuse of the same function name in other files

Signed-off-by: Chris Ye <chris.ye@intel.com>
This commit is contained in:
Chris Ye 2018-06-08 07:18:26 +08:00 committed by lijinxia
parent 417d17e031
commit 59f1f005aa
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ add_intx_remapping(struct vm *vm, uint8_t virt_pin,
}
/* deactive & remove mapping entry of vpin for vm */
void remove_intx_remapping(struct vm *vm, uint8_t virt_pin, bool pic_pin)
static void remove_intx_remapping(struct vm *vm, uint8_t virt_pin, bool pic_pin)
{
int phys_irq;
struct ptdev_remapping_info *entry;