Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 09:51:34 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drmP.h

Log Message:
delete defines now in drm_pci.h and drm_internal.h

Author: Maya Rashish <m...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/external/bsd/drm2/dist/include/drm/drmP.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/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.60 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.61
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.60	Sun Dec 19 09:51:27 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Sun Dec 19 09:51:34 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: drmP.h,v 1.60 2021/12/19 09:51:27 riastradh Exp $	*/
+/*	$NetBSD: drmP.h,v 1.61 2021/12/19 09:51:34 riastradh Exp $	*/
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -192,25 +192,6 @@ extern int drm_pci_attach(device_t, cons
     struct drm_device **);
 extern int drm_pci_detach(struct drm_device *, int);
 #endif
-#ifdef CONFIG_PCI
-extern int drm_get_pci_dev(struct pci_dev *pdev,
-			   const struct pci_device_id *ent,
-			   struct drm_driver *driver);
-extern int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
-#else
-static inline int drm_get_pci_dev(struct pci_dev *pdev,
-				  const struct pci_device_id *ent,
-				  struct drm_driver *driver)
-{
-	return -ENOSYS;
-}
-
-static inline int drm_pci_set_busid(struct drm_device *dev,
-				    struct drm_master *master)
-{
-	return -ENOSYS;
-}
-#endif
 
 extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask);
 

Reply via email to