* [2.6 patch] drivers/of/of_i2c.c: add MODULE_LICENSE
@ 2008-04-23 9:51 Adrian Bunk
2008-04-23 11:25 ` Jochen Friedrich
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-23 9:51 UTC (permalink / raw)
To: Jochen Friedrich, Paul Mackerras; +Cc: linux-kernel, linuxppc-dev
After commit 585468e5d5962660867c269e26f0a4b89a599473
([POWERPC] i2c: Fix build breakage introduced by OF helpers)
drivers/of/of_i2c.c needs a MODULE_LICENSE.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/of/of_i2c.c | 3 +++
1 file changed, 3 insertions(+)
946ca8103416a313577b0b9d52d30541fe7eef85 diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c
index 6316891..715a444 100644
--- a/drivers/of/of_i2c.c
+++ b/drivers/of/of_i2c.c
@@ -13,6 +13,7 @@
#include <linux/i2c.h>
#include <linux/of.h>
+#include <linux/module.h>
struct i2c_driver_device {
char *of_device;
@@ -113,3 +114,5 @@ void of_register_i2c_devices(struct i2c_adapter *adap,
}
}
EXPORT_SYMBOL(of_register_i2c_devices);
+
+MODULE_LICENSE("GPL");
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] drivers/of/of_i2c.c: add MODULE_LICENSE
2008-04-23 9:51 [2.6 patch] drivers/of/of_i2c.c: add MODULE_LICENSE Adrian Bunk
@ 2008-04-23 11:25 ` Jochen Friedrich
0 siblings, 0 replies; 2+ messages in thread
From: Jochen Friedrich @ 2008-04-23 11:25 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Paul Mackerras, linux-kernel, linuxppc-dev
Adrian Bunk schrieb:
> After commit 585468e5d5962660867c269e26f0a4b89a599473
> ([POWERPC] i2c: Fix build breakage introduced by OF helpers)
> drivers/of/of_i2c.c needs a MODULE_LICENSE.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Jochen Friedrich <jochen@scram.de>
Thanks,
Jochen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-23 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 9:51 [2.6 patch] drivers/of/of_i2c.c: add MODULE_LICENSE Adrian Bunk
2008-04-23 11:25 ` Jochen Friedrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox