fujitsu-laptop: fix compiler warning on pnp_ids
authorNamhyung Kim <namhyung@gmail.com>
Tue, 7 Dec 2010 15:04:14 +0000 (00:04 +0900)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:03:45 +0000 (17:03 -0500)
Annotate pnp_ids as '__used' to fix following warning:

  CC      drivers/platform/x86/fujitsu-laptop.o
drivers/platform/x86/fujitsu-laptop.c:1243: warning: ‘pnp_ids’ defined but not used

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/fujitsu-laptop.c

index f44cd2620ff9e123fab32ee1ce7355b9d477d1cc..ad88b2ec34a158e9996e81860414b5949f7c6103 100644 (file)
@@ -1240,7 +1240,7 @@ MODULE_ALIAS("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1D3:*:cvrS6410:*");
 MODULE_ALIAS("dmi:*:svnFUJITSUSIEMENS:*:pvr:rvnFUJITSU:rnFJNB1E6:*:cvrS6420:*");
 MODULE_ALIAS("dmi:*:svnFUJITSU:*:pvr:rvnFUJITSU:rnFJNB19C:*:cvrS7020:*");
 
-static struct pnp_device_id pnp_ids[] = {
+static struct pnp_device_id pnp_ids[] __used = {
        {.id = "FUJ02bf"},
        {.id = "FUJ02B1"},
        {.id = "FUJ02E3"},