svn commit: r322697 - in head/sys/dev: extres/hwreset pci
Andrew Turner
andrew at FreeBSD.org
Sat Aug 19 17:18:28 UTC 2017
Author: andrew
Date: Sat Aug 19 17:18:27 2017
New Revision: 322697
URL: https://svnweb.freebsd.org/changeset/base/322697
Log:
Remove redundant declarations. Newer gcc has a warning for these so will
fail when building with -Werror.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/extres/hwreset/hwreset.h
head/sys/dev/pci/pci_host_generic.h
Modified: head/sys/dev/extres/hwreset/hwreset.h
==============================================================================
--- head/sys/dev/extres/hwreset/hwreset.h Sat Aug 19 17:15:40 2017 (r322696)
+++ head/sys/dev/extres/hwreset/hwreset.h Sat Aug 19 17:18:27 2017 (r322697)
@@ -40,8 +40,6 @@ typedef struct hwreset *hwreset_t;
* Provider interface
*/
#ifdef FDT
-int hwreset_default_ofw_map(device_t provider_dev, phandle_t xref, int ncells,
- pcell_t *cells, intptr_t *id);
void hwreset_register_ofw_provider(device_t provider_dev);
void hwreset_unregister_ofw_provider(device_t provider_dev);
#endif
Modified: head/sys/dev/pci/pci_host_generic.h
==============================================================================
--- head/sys/dev/pci/pci_host_generic.h Sat Aug 19 17:15:40 2017 (r322696)
+++ head/sys/dev/pci/pci_host_generic.h Sat Aug 19 17:18:27 2017 (r322697)
@@ -66,8 +66,6 @@ struct generic_pcie_core_softc {
DECLARE_CLASS(generic_pcie_core_driver);
-struct resource *pci_host_generic_core_alloc_resource(device_t,
- device_t, int, int *, rman_res_t, rman_res_t, rman_res_t, u_int);
int pci_host_generic_core_attach(device_t);
struct resource *pci_host_generic_core_alloc_resource(device_t, device_t, int,
int *, rman_res_t, rman_res_t, rman_res_t, u_int);
More information about the svn-src-all
mailing list