From: Randy Dunlap Date: Thu, 26 Apr 2007 05:43:16 +0000 (-0700) Subject: firewire: don't use extern on public symbols X-Git-Tag: firefly_0821_release~29261^2~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0b6aa3d0537104e86d80cde66192a0aa569e0bf4;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Stefan Richter --- 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 = { }; 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); }