On Wed, Nov 18, 2009 at 4:23 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Wed, 2009-11-18 at 07:20 +0530, Janakiram Sistla wrote: > >> --- >> include/linux/rfkill.h | 2 ++ >> net/rfkill/core.c | 2 ++ >> 2 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h >> index 3392c59..7ae75ef 100644 >> --- a/include/linux/rfkill.h >> +++ b/include/linux/rfkill.h >> @@ -35,6 +35,7 @@ >> * @RFKILL_TYPE_UWB: switch is on a ultra wideband device. >> * @RFKILL_TYPE_WIMAX: switch is on a WiMAX device. >> * @RFKILL_TYPE_WWAN: switch is on a wireless WAN device. >> + * @RFKILL_TYPE_FM: switch is on a wireless FM device. >> * @NUM_RFKILL_TYPES: number of defined rfkill types >> */ >> enum rfkill_type { >> @@ -44,6 +45,7 @@ enum rfkill_type { >> RFKILL_TYPE_UWB, >> RFKILL_TYPE_WIMAX, >> RFKILL_TYPE_WWAN, >> + RFKILL_TYPE_FM, >> RFKILL_TYPE_GPS, >> NUM_RFKILL_TYPES, >> }; > > Nice try, but no fly. This struct is ABI, you cannot add in the middle. Is it ok if i can add my change after RFKILL_TYPE_GPS.But with respect to the change i made i also made the necessary changes in core.c. > > johannes > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html