mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Stefan Richter <[email protected]>
This commit is contained in:
parent
3e1dcb00d5
commit
0b6aa3d053
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue