Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Add pci_platform_rom stu...



details:   https://anonhg.NetBSD.org/src/rev/c3e1959a01d9
branches:  trunk
changeset: 336315:c3e1959a01d9
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Feb 25 14:50:51 2015 +0000

description:
Add pci_platform_rom stub to <linux/pci.h>.

diffstat:

 sys/external/bsd/drm2/include/linux/pci.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 03fef3b05112 -r c3e1959a01d9 sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Wed Feb 25 14:49:01 2015 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Wed Feb 25 14:50:51 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.h,v 1.12 2015/02/25 14:49:01 riastradh Exp $       */
+/*     $NetBSD: pci.h,v 1.13 2015/02/25 14:50:51 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -511,6 +511,13 @@
        return pdev->pd_rom_vaddr;
 }
 
+static inline void __pci_rom_iomem *
+pci_platform_rom(struct pci_dev *pdev __unused)
+{
+
+       return NULL;
+}
+
 static inline int
 pci_enable_rom(struct pci_dev *pdev)
 {



Home | Main Index | Thread Index | Old Index