X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fsbus%2Fchar%2Fbbc_i2c.c;h=1c8b612d82343ef401cbb54d64f853e1205185cb;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=3e156e005f2e50fcbbeb2496ef7cebd7b971fb54;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c index 3e156e005..1c8b612d8 100644 --- a/drivers/sbus/char/bbc_i2c.c +++ b/drivers/sbus/char/bbc_i2c.c @@ -440,8 +440,7 @@ static int __init bbc_i2c_init(void) struct linux_ebus_device *edev = NULL; int err, index = 0; - if ((tlb_type != cheetah && tlb_type != cheetah_plus) || - !bbc_present()) + if (tlb_type != cheetah || !bbc_present()) return -ENODEV; for_each_ebus(ebus) { @@ -487,4 +486,3 @@ static void bbc_i2c_cleanup(void) module_init(bbc_i2c_init); module_exit(bbc_i2c_cleanup); -MODULE_LICENSE("GPL");