lkml.org 
[lkml]   [2019]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] PCI: vc: fix warning: no previous prototype
Date
From: tiantao <tiantao6@huawei.com>

drivers/pci/vc.c:351:5: warning: no previous prototype for
pci_save_vc_state [-Wmissing-prototypes]
int pci_save_vc_state(struct pci_dev *dev)

drivers/pci/vc.c:388:6: warning: no previous prototype for
pci_restore_vc_state [-Wmissing-prototypes]
void pci_restore_vc_state(struct pci_dev *dev)

drivers/pci/vc.c:412:6: warning: no previous prototype for
pci_allocate_vc_save_buffers [-Wmissing-prototypes]
void pci_allocate_vc_save_buffers(struct pci_dev *dev)

Signed-off-by: Tian Tao <tiantao6@huawei.com>
---
drivers/pci/vc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pci/vc.c b/drivers/pci/vc.c
index b39e854..111f6d3 100644
--- a/drivers/pci/vc.c
+++ b/drivers/pci/vc.c
@@ -12,6 +12,7 @@
#include <linux/pci.h>
#include <linux/pci_regs.h>
#include <linux/types.h>
+#include "pci.h"

/**
* pci_vc_save_restore_dwords - Save or restore a series of dwords
--
2.7.4
\
 
 \ /
  Last update: 2019-09-11 14:44    [W:0.031 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site