ath6kl: use CONFIG_AR600x_SD31_XXX
When CONFIG_AR600x_SD31_XXX gets enabled we define another flag called AR600x_SD31_XXX, just use CONFIG_AR600x_SD31_XXX since that is already defined by the generated autoconf header file from the kernel. Cc: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1822d7f80e
commit
492543eae4
|
@ -29,10 +29,6 @@ ccflags-y += -I$(obj)/os
|
|||
ccflags-y += -I$(obj)/bmi/include
|
||||
ccflags-y += -I$(obj)/include/common/AR6002/hw4.0
|
||||
|
||||
ifeq ($(CONFIG_AR600x_SD31_XXX),y)
|
||||
ccflags-y += -DAR600x_SD31_XXX
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_AR600x_WB31_XXX),y)
|
||||
ccflags-y += -DAR600x_WB31_XXX
|
||||
endif
|
||||
|
|
|
@ -283,7 +283,7 @@ typedef enum _AR6K_BIN_FILE {
|
|||
#define AR6003_REV1_ART_FIRMWARE_FILE "ath6k/AR6003/hw1.0/device.bin"
|
||||
#define AR6003_REV1_PATCH_FILE "ath6k/AR6003/hw1.0/data.patch.bin"
|
||||
#define AR6003_REV1_EPPING_FIRMWARE_FILE "ath6k/AR6003/hw1.0/endpointping.bin"
|
||||
#ifdef AR600x_SD31_XXX
|
||||
#ifdef CONFIG_AR600x_SD31_XXX
|
||||
#define AR6003_REV1_BOARD_DATA_FILE "ath6k/AR6003/hw1.0/bdata.SD31.bin"
|
||||
#elif defined(AR600x_SD32_XXX)
|
||||
#define AR6003_REV1_BOARD_DATA_FILE "ath6k/AR6003/hw1.0/bdata.SD32.bin"
|
||||
|
@ -303,7 +303,7 @@ typedef enum _AR6K_BIN_FILE {
|
|||
#define AR6003_REV2_ART_FIRMWARE_FILE "ath6k/AR6003/hw2.0/device.bin"
|
||||
#define AR6003_REV2_PATCH_FILE "ath6k/AR6003/hw2.0/data.patch.bin"
|
||||
#define AR6003_REV2_EPPING_FIRMWARE_FILE "ath6k/AR6003/hw2.0/endpointping.bin"
|
||||
#ifdef AR600x_SD31_XXX
|
||||
#ifdef CONFIG_AR600x_SD31_XXX
|
||||
#define AR6003_REV2_BOARD_DATA_FILE "ath6k/AR6003/hw2.0/bdata.SD31.bin"
|
||||
#elif defined(AR600x_SD32_XXX)
|
||||
#define AR6003_REV2_BOARD_DATA_FILE "ath6k/AR6003/hw2.0/bdata.SD32.bin"
|
||||
|
|
Loading…
Reference in New Issue