projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1ac52
)
[SPARC64] bbc_i2c: Fix cpu check and add missing module license.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 17 Mar 2006 21:23:56 +0000
(13:23 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:16:34 +0000
(
01:16
-0800)
Should allow cheetah_plus cpu types and don't taint
the kernel.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/bbc_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/sbus/char/bbc_i2c.c
b/drivers/sbus/char/bbc_i2c.c
index 1c8b612d82343ef401cbb54d64f853e1205185cb..3e156e005f2e50fcbbeb2496ef7cebd7b971fb54 100644
(file)
--- a/
drivers/sbus/char/bbc_i2c.c
+++ b/
drivers/sbus/char/bbc_i2c.c
@@
-440,7
+440,8
@@
static int __init bbc_i2c_init(void)
struct linux_ebus_device *edev = NULL;
int err, index = 0;
- if (tlb_type != cheetah || !bbc_present())
+ if ((tlb_type != cheetah && tlb_type != cheetah_plus) ||
+ !bbc_present())
return -ENODEV;
for_each_ebus(ebus) {
@@
-486,3
+487,4
@@
static void bbc_i2c_cleanup(void)
module_init(bbc_i2c_init);
module_exit(bbc_i2c_cleanup);
+MODULE_LICENSE("GPL");