Commit 0b6aa3d0 authored by Randy Dunlap's avatar Randy Dunlap Committed by Stefan Richter

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 3e1dcb00
...@@ -157,14 +157,14 @@ struct bus_type fw_bus_type = { ...@@ -157,14 +157,14 @@ struct bus_type fw_bus_type = {
}; };
EXPORT_SYMBOL(fw_bus_type); EXPORT_SYMBOL(fw_bus_type);
extern struct fw_device *fw_device_get(struct fw_device *device) struct fw_device *fw_device_get(struct fw_device *device)
{ {
get_device(&device->device); get_device(&device->device);
return device; return device;
} }
extern void fw_device_put(struct fw_device *device) void fw_device_put(struct fw_device *device)
{ {
put_device(&device->device); put_device(&device->device);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment