All pastes #282241 Raw Edit

Diff

public text v1 · immutable
#282241 ·published 2006-12-17 12:14 UTC
rendered paste body
Index: linux-2.6/drivers/w1/w1.c===================================================================--- linux-2.6.orig/drivers/w1/w1.c	2006-12-14 17:47:27.000000000 +0100+++ linux-2.6/drivers/w1/w1.c	2006-12-14 17:50:39.000000000 +0100@@ -195,7 +195,7 @@  static int w1_uevent(struct device *dev, char **envp, int num_envp, char *buffer, int buffer_size); -static struct bus_type w1_bus_type = {+struct bus_type w1_bus_type = { 	.name = "w1", 	.match = w1_master_match, 	.uevent = w1_uevent,@@ -979,3 +979,5 @@  module_init(w1_init); module_exit(w1_fini);++EXPORT_SYMBOL_GPL(w1_bus_type);Index: linux-2.6/drivers/w1/w1.h===================================================================--- linux-2.6.orig/drivers/w1/w1.h	2006-12-14 17:47:27.000000000 +0100+++ linux-2.6/drivers/w1/w1.h	2006-12-14 17:50:39.000000000 +0100@@ -210,6 +210,7 @@ 	return container_of(dev, struct w1_master, dev); } +extern struct bus_type w1_bus_type; extern struct device_driver w1_master_driver; extern struct device w1_master_device; extern int w1_max_slave_count;