]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/edac/i7core_edac.c
Merge branch 'for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
[mirror_ubuntu-bionic-kernel.git] / drivers / edac / i7core_edac.c
index d36cc84980845cbe81703b59545350aa3e0aecf0..c16c3b931b3d0ef9cd68b01e6d81de4987d5c794 100644 (file)
@@ -1094,7 +1094,7 @@ static void addrmatch_release(struct device *device)
        kfree(device);
 }
 
-static struct device_type addrmatch_type = {
+static const struct device_type addrmatch_type = {
        .groups         = addrmatch_groups,
        .release        = addrmatch_release,
 };
@@ -1125,7 +1125,7 @@ static void all_channel_counts_release(struct device *device)
        kfree(device);
 }
 
-static struct device_type all_channel_counts_type = {
+static const struct device_type all_channel_counts_type = {
        .groups         = all_channel_counts_groups,
        .release        = all_channel_counts_release,
 };