diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-12 03:04:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-12 03:04:33 -0400 |
commit | 7694b024f145c4a598cde5fcccfd3fe5eac4027b (patch) | |
tree | 5e221d98808ff58a67b4d5b80562956c7d7f6ead /arch/sparc64/kernel | |
parent | 8d2aec512304144cbb4f7dbb484626fb598b698e (diff) |
sparc64: Fix sparse warnings in vio.c
Several variables should be marked static.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/vio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/vio.c b/arch/sparc64/kernel/vio.c index a490077891a4..92b1f8ec01de 100644 --- a/arch/sparc64/kernel/vio.c +++ b/arch/sparc64/kernel/vio.c | |||
@@ -152,7 +152,7 @@ show_pciobppath_attr(struct device *dev, struct device_attribute *attr, | |||
152 | static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, | 152 | static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, |
153 | show_pciobppath_attr, NULL); | 153 | show_pciobppath_attr, NULL); |
154 | 154 | ||
155 | struct device_node *cdev_node; | 155 | static struct device_node *cdev_node; |
156 | 156 | ||
157 | static struct vio_dev *root_vdev; | 157 | static struct vio_dev *root_vdev; |
158 | static u64 cdev_cfg_handle; | 158 | static u64 cdev_cfg_handle; |
@@ -371,9 +371,9 @@ static struct mdesc_notifier_client vio_ds_notifier = { | |||
371 | .node_name = "domain-services-port", | 371 | .node_name = "domain-services-port", |
372 | }; | 372 | }; |
373 | 373 | ||
374 | const char *channel_devices_node = "channel-devices"; | 374 | static const char *channel_devices_node = "channel-devices"; |
375 | const char *channel_devices_compat = "SUNW,sun4v-channel-devices"; | 375 | static const char *channel_devices_compat = "SUNW,sun4v-channel-devices"; |
376 | const char *cfg_handle_prop = "cfg-handle"; | 376 | static const char *cfg_handle_prop = "cfg-handle"; |
377 | 377 | ||
378 | static int __init vio_init(void) | 378 | static int __init vio_init(void) |
379 | { | 379 | { |