Message ID | 20190620180754.15413-3-puranjay12@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | net: fddi: skfp: Use PCI generic definitions instead of private duplicates | expand |
On Thu, Jun 20, 2019 at 11:37:53PM +0530, Puranjay Mohan wrote: > Include the uapi/linux/pci_regs.h header file which contains the generic > PCI defines. > > Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> > --- > drivers/net/fddi/skfp/drvfbi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/fddi/skfp/drvfbi.c b/drivers/net/fddi/skfp/drvfbi.c > index b324c1acf195..e8245cb281f8 100644 > --- a/drivers/net/fddi/skfp/drvfbi.c > +++ b/drivers/net/fddi/skfp/drvfbi.c > @@ -20,7 +20,7 @@ > #include "h/supern_2.h" > #include "h/skfbiinc.h" > #include <linux/bitrev.h> > - > +#include <linux/pci_regs.h> You removed the blank line between the list of include files and the SCCS ID (now there's an anachronism) below. That blank line is part of typical Linux style and you should keep it. > #ifndef lint > static const char ID_sccs[] = "@(#)drvfbi.c 1.63 99/02/11 (C) SK " ; > #endif > -- > 2.21.0 >
diff --git a/drivers/net/fddi/skfp/drvfbi.c b/drivers/net/fddi/skfp/drvfbi.c index b324c1acf195..e8245cb281f8 100644 --- a/drivers/net/fddi/skfp/drvfbi.c +++ b/drivers/net/fddi/skfp/drvfbi.c @@ -20,7 +20,7 @@ #include "h/supern_2.h" #include "h/skfbiinc.h" #include <linux/bitrev.h> - +#include <linux/pci_regs.h> #ifndef lint static const char ID_sccs[] = "@(#)drvfbi.c 1.63 99/02/11 (C) SK " ; #endif
Include the uapi/linux/pci_regs.h header file which contains the generic PCI defines. Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> --- drivers/net/fddi/skfp/drvfbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)