Re: [PATCH v4] gpio: sx150x: Add Semtech I2C sx150x gpio expanderdriver.

From: Greg Bean
Date: Thu Jul 22 2010 - 13:22:52 EST


>> + bool "Semtech SX150x I2C GPIO expander"
>> + depends on I2C=y
>> + default n
>> + help
>> + Say yes here to provide support for Semtech SX150-series I2C
>> + GPIO expanders. Compatible models include:
>
> Just curious, not complaining, but why does this driver (and some others)
> need to be built-in instead of having the option of being built as a
> loadable module?

It's that way because it requires unexported symbols from genirq and I2C. If this driver is allowed to be a module, it can't find the unexported genirq symbols, and if I2C is allowed to be a module, then a bunch of i2c_smbus stuff can't be resolved...

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/