firewire: don't use extern on public symbols
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 26 Apr 2007 05:43:16 +0000 (22:43 -0700)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 26 Apr 2007 23:39:03 +0000 (01:39 +0200)
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>
drivers/firewire/fw-device.c

index 3841086048d6b8992442f9ef1ae27148cfd4f83d..99d1c418d2b0daf0820775dd2c3bdd040cede06a 100644 (file)
@@ -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);
 }