mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] drivers/w1/w1.c: fix a compile error
From: Adrian Bunk <[email protected]> drivers/w1/w1.c:197: error: static declaration of 'w1_bus_type' follows non-static declaration drivers/w1/w1.h:217: error: previous declaration of 'w1_bus_type' was here Signed-off-by: Adrian Bunk <[email protected]> Cc: Evgeniy Polyakov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
f621e1c781
commit
6a873403d3
1 changed files with 0 additions and 1 deletions
|
|
@ -211,7 +211,6 @@ static inline struct w1_master* dev_to_w1_master(struct device *dev)
|
|||
}
|
||||
|
||||
extern struct device_driver w1_master_driver;
|
||||
extern struct bus_type w1_bus_type;
|
||||
extern struct device w1_master_device;
|
||||
extern int w1_max_slave_count;
|
||||
extern int w1_max_slave_ttl;
|
||||
|
|
|
|||
Loading…
Reference in a new issue