diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-04-26 01:43:16 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-26 19:39:03 -0400 |
commit | 0b6aa3d0537104e86d80cde66192a0aa569e0bf4 (patch) | |
tree | ff4e5203923be86183ad111866c752f6ccfbb0b2 /drivers | |
parent | 3e1dcb00d59473d52d4ca80a57408b3d953e4573 (diff) |
firewire: don't use extern on public symbols
Make firewire entry points not 'extern':
drivers/firewire/fw-device.c:160:25: warning: function 'fw_device_get' with external linkage has definition
drivers/firewire/fw-device.c:167:13: warning: function 'fw_device_put' with external linkage has definition
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firewire/fw-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c index 3841086048d6..99d1c418d2b0 100644 --- a/drivers/firewire/fw-device.c +++ b/drivers/firewire/fw-device.c | |||
@@ -157,14 +157,14 @@ struct bus_type fw_bus_type = { | |||
157 | }; | 157 | }; |
158 | EXPORT_SYMBOL(fw_bus_type); | 158 | EXPORT_SYMBOL(fw_bus_type); |
159 | 159 | ||
160 | extern struct fw_device *fw_device_get(struct fw_device *device) | 160 | struct fw_device *fw_device_get(struct fw_device *device) |
161 | { | 161 | { |
162 | get_device(&device->device); | 162 | get_device(&device->device); |
163 | 163 | ||
164 | return device; | 164 | return device; |
165 | } | 165 | } |
166 | 166 | ||
167 | extern void fw_device_put(struct fw_device *device) | 167 | void fw_device_put(struct fw_device *device) |
168 | { | 168 | { |
169 | put_device(&device->device); | 169 | put_device(&device->device); |
170 | } | 170 | } |