Commit 874b0519 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Use __ro_after_init in pci.c



Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 7c1952b4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -45,14 +45,14 @@
 * #define pci_post_reset_delay 50
 */

struct pci_port_ops *pci_port __read_mostly;
struct pci_bios_ops *pci_bios __read_mostly;
struct pci_port_ops *pci_port __ro_after_init;
struct pci_bios_ops *pci_bios __ro_after_init;

static int pci_hba_count __read_mostly;
static int pci_hba_count __ro_after_init;

/* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data.  */
#define PCI_HBA_MAX 32
static struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __read_mostly;
static struct pci_hba_data *parisc_pci_hba[PCI_HBA_MAX] __ro_after_init;


/********************************************************************