]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/darwin.c
MacOS: An attempt to appease compiler picky about attribute placement
[pciutils.git] / lib / darwin.c
index e34c423712a7472cfa637bdb63ef6bbf9efc1a1e..8ae90082c8af017a88974aa6a88a157c49b641cc 100644 (file)
@@ -3,7 +3,9 @@
  *
  *     Copyright (c) 2013 Apple, Inc.
  *
- *     Can be freely distributed and used under the terms of the GNU GPL.
+ *     Can be freely distributed and used under the terms of the GNU GPL v2+.
+ *
+ *     SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 #include <errno.h>
@@ -194,9 +196,9 @@ darwin_write(struct pci_dev *d, int pos, byte *buf, int len)
   return 1;
 }
 
-struct pci_methods pm_darwin_device = {
-    "darwin-device",
-    "Darwin device",
+struct pci_methods pm_darwin = {
+    "darwin",
+    "Darwin",
     darwin_config,
     darwin_detect,
     darwin_init,