Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 20:29:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257072 - head/sys/dev/pci
Message-ID:  <201310242029.r9OKTTOi024343@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Oct 24 20:29:29 2013
New Revision: 257072
URL: http://svnweb.freebsd.org/changeset/base/257072

Log:
  Make pci_get_dma_tag() non-static.  Since the function is only
  referenced by pointer, making it non-static should not have even the
  negligible impact on the existing code.
  
  Reviewed by:	jhb
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/dev/pci/pci.c
  head/sys/dev/pci/pci_private.h

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c	Thu Oct 24 20:25:29 2013	(r257071)
+++ head/sys/dev/pci/pci.c	Thu Oct 24 20:29:29 2013	(r257072)
@@ -96,7 +96,6 @@ static void		pci_load_vendor_data(void);
 static int		pci_describe_parse_line(char **ptr, int *vendor,
 			    int *device, char **desc);
 static char		*pci_describe_device(device_t dev);
-static bus_dma_tag_t	pci_get_dma_tag(device_t bus, device_t dev);
 static int		pci_modevent(module_t mod, int what, void *arg);
 static void		pci_hdrtypedata(device_t pcib, int b, int s, int f,
 			    pcicfgregs *cfg);

Modified: head/sys/dev/pci/pci_private.h
==============================================================================
--- head/sys/dev/pci/pci_private.h	Thu Oct 24 20:25:29 2013	(r257071)
+++ head/sys/dev/pci/pci_private.h	Thu Oct 24 20:29:29 2013	(r257072)
@@ -116,6 +116,7 @@ int		pci_child_pnpinfo_str_method(device
 int		pci_assign_interrupt_method(device_t dev, device_t child);
 int		pci_resume(device_t dev);
 int		pci_suspend(device_t dev);
+bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev);
 
 /** Restore the config register state.  The state must be previously
  * saved with pci_cfg_save.  However, the pci bus driver takes care of



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310242029.r9OKTTOi024343>