Merge branch 'pci/switchtec' into next

* pci/switchtec:
  switchtec: Make struct event_regs static
This commit is contained in:
Bjorn Helgaas 2017-11-14 12:11:26 -06:00
commit 9af21ac53f
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ static u32 __iomem *pff_ev_reg(struct switchtec_dev *stdev,
#define EV_PAR(i, r)[i] = {offsetof(struct part_cfg_regs, r), part_ev_reg}
#define EV_PFF(i, r)[i] = {offsetof(struct pff_csr_regs, r), pff_ev_reg}
const struct event_reg {
static const struct event_reg {
size_t offset;
u32 __iomem *(*map_reg)(struct switchtec_dev *stdev,
size_t offset, int index);