Module Name:    src
Committed By:   riastradh
Date:           Wed Feb 25 14:50:51 UTC 2015

Modified Files:
        src/sys/external/bsd/drm2/include/linux: pci.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/drm2/include/linux/pci.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/pci.h
diff -u src/sys/external/bsd/drm2/include/linux/pci.h:1.12 src/sys/external/bsd/drm2/include/linux/pci.h:1.13
--- src/sys/external/bsd/drm2/include/linux/pci.h:1.12	Wed Feb 25 14:49:01 2015
+++ src/sys/external/bsd/drm2/include/linux/pci.h	Wed Feb 25 14:50:51 2015
@@ -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 @@ pci_map_rom(struct pci_dev *pdev, size_t
 	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)
 {

Reply via email to