* [PATCH 1/3] rocket: fix compiler warning on rocket_pci_ids
@ 2010-12-07 14:27 Namhyung Kim
2010-12-07 14:27 ` [PATCH 2/3] specialix: fix compiler warning on specialix_pci_tbl Namhyung Kim
2010-12-07 14:27 ` [PATCH 3/3] ip2: fix compiler warning on ip2main_pci_tbl Namhyung Kim
0 siblings, 2 replies; 3+ messages in thread
From: Namhyung Kim @ 2010-12-07 14:27 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel
Annotate rocket_pci_ids as '__used' to fix following warning:
CC drivers/char/rocket.o
drivers/char/rocket.c:1767: warning: ‘rocket_pci_ids’ defined but not used
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
drivers/char/rocket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 8630883..3e4e73a 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -1764,7 +1764,7 @@ static void rp_flush_buffer(struct tty_struct *tty)
#ifdef CONFIG_PCI
-static struct pci_device_id __devinitdata rocket_pci_ids[] = {
+static struct pci_device_id __devinitdata __used rocket_pci_ids[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_RP, PCI_ANY_ID) },
{ }
};
--
1.7.0.4
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/3] specialix: fix compiler warning on specialix_pci_tbl
2010-12-07 14:27 [PATCH 1/3] rocket: fix compiler warning on rocket_pci_ids Namhyung Kim
@ 2010-12-07 14:27 ` Namhyung Kim
2010-12-07 14:27 ` [PATCH 3/3] ip2: fix compiler warning on ip2main_pci_tbl Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2010-12-07 14:27 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel, Roger Wolff
Annotate specialx_pci_tbl as '__used' to fix following warning:
CC drivers/char/specialix.o
drivers/char/specialix.c:2358: warning: ‘specialx_pci_tbl’ defined but not used
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Roger Wolff <R.E.Wolff@BitWizard.nl>
---
drivers/char/specialix.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c
index a7616d2..c2bca3f 100644
--- a/drivers/char/specialix.c
+++ b/drivers/char/specialix.c
@@ -2355,7 +2355,7 @@ static void __exit specialix_exit_module(void)
func_exit();
}
-static struct pci_device_id specialx_pci_tbl[] __devinitdata = {
+static struct pci_device_id specialx_pci_tbl[] __devinitdata __used = {
{ PCI_DEVICE(PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8) },
{ }
};
--
1.7.0.4
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 3/3] ip2: fix compiler warning on ip2main_pci_tbl
2010-12-07 14:27 [PATCH 1/3] rocket: fix compiler warning on rocket_pci_ids Namhyung Kim
2010-12-07 14:27 ` [PATCH 2/3] specialix: fix compiler warning on specialix_pci_tbl Namhyung Kim
@ 2010-12-07 14:27 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2010-12-07 14:27 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel, Michael H. Warfield
Annotate ip2main_pci_tbl as '__used' to fix following warning:
CC drivers/char/ip2/ip2main.o
drivers/char/ip2/ip2main.c:3227: warning: ‘ip2main_pci_tbl’ defined but not used
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: "Michael H. Warfield" <mhw@wittsend.com>
---
drivers/char/ip2/ip2main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c
index fcd02ba..c3a0253 100644
--- a/drivers/char/ip2/ip2main.c
+++ b/drivers/char/ip2/ip2main.c
@@ -3224,7 +3224,7 @@ ip2trace (unsigned short pn, unsigned char cat, unsigned char label, unsigned lo
MODULE_LICENSE("GPL");
-static struct pci_device_id ip2main_pci_tbl[] __devinitdata = {
+static struct pci_device_id ip2main_pci_tbl[] __devinitdata __used = {
{ PCI_DEVICE(PCI_VENDOR_ID_COMPUTONE, PCI_DEVICE_ID_COMPUTONE_IP2EX) },
{ }
};
--
1.7.0.4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-07 14:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-07 14:27 [PATCH 1/3] rocket: fix compiler warning on rocket_pci_ids Namhyung Kim
2010-12-07 14:27 ` [PATCH 2/3] specialix: fix compiler warning on specialix_pci_tbl Namhyung Kim
2010-12-07 14:27 ` [PATCH 3/3] ip2: fix compiler warning on ip2main_pci_tbl Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®