]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/sony-laptop.c
drivers/firmware: const-ify DMI API and internals
[linux-2.6-omap-h63xx.git] / drivers / misc / sony-laptop.c
index d38ddce592c030987a56ed26a002e3decd35333f..e73a71f04bb41b26d10b31e4608f8e33adf8ddc6 100644 (file)
@@ -807,7 +807,7 @@ static struct sony_nc_event *sony_nc_events;
 /* Vaio C* --maybe also FE*, N* and AR* ?-- special init sequence
  * for Fn keys
  */
-static int sony_nc_C_enable(struct dmi_system_id *id)
+static int sony_nc_C_enable(const struct dmi_system_id *id)
 {
        int result = 0;
 
@@ -845,7 +845,7 @@ static struct sony_nc_event sony_C_events[] = {
 };
 
 /* SNC-only model map */
-static struct dmi_system_id sony_nc_ids[] = {
+static const struct dmi_system_id sony_nc_ids[] = {
                {
                        .ident = "Sony Vaio FE Series",
                        .callback = sony_nc_C_enable,