Skip to content
  • Tejun Heo's avatar
    iwlwifi: don't include iwl-dev.h from iwl-devtrace.h · ed391f4e
    Tejun Heo authored
    iwl-devtrace.h is used to declare and define trace points and
    including iwl-dev.h from the file, which in turn includes other
    generic headers, can lead to problems like generating duplicate copies
    of generic trace points depending on the order of includes.  Don't
    include iwl-dev.h from iwl-devtrace.h but include it from its users -
    iwl-io.h and iwl-devtrace.c.
    Signed-off-by: default avatarTejun Heo <>
    Acked-by: default avatarReinette Chatre <>
    Cc: Zhu Yi <>
    Cc: Intel Linux Wireless <>
    Cc: Ingo Molnar <>