Date: Wed, 25 Apr 2007 22:43:16 -0700 Subject: firewire: don't use extern on public symbols From: Randy Dunlap 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 Signed-off-by: Stefan Richter --- drivers/firewire/fw-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.21-rc7-mm1.orig/drivers/firewire/fw-device.c +++ linux-2.6.21-rc7-mm1/drivers/firewire/fw-device.c @@ -157,14 +157,14 @@ struct bus_type 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); return device; } -extern void fw_device_put(struct fw_device *device) +void fw_device_put(struct fw_device *device) { put_device(&device->device); }