Commit 0cc7d0a6 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'mvebu-soc-4.11-1' of git://git.infradead.org/linux-mvebu into next/soc

mvebu soc for 4.11 (part 1)

Cleanup up on dove pmu and mv78x00 pci

* tag 'mvebu-soc-4.11-1' of git://git.infradead.org/linux-mvebu:
  soc: dove: constify reset_control_ops structures
  ARM: mv78xx0: fix possible PCI buffer overflow
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents faff11d1 f2591b99
......@@ -29,7 +29,7 @@ struct pcie_port {
u8 root_bus_nr;
void __iomem *base;
spinlock_t conf_lock;
char mem_space_name[16];
char mem_space_name[20];
struct resource res;
};
......
......@@ -87,7 +87,7 @@ static int pmu_reset_deassert(struct reset_controller_dev *rc, unsigned long id)
return 0;
}
static struct reset_control_ops pmu_reset_ops = {
static const struct reset_control_ops pmu_reset_ops = {
.reset = pmu_reset_reset,
.assert = pmu_reset_assert,
.deassert = pmu_reset_deassert,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment