X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fblackfin%2Finclude%2Fasm%2Fportmux.h;h=003694b515a0e17854a98aff0f31f102ca964717;hb=e3a96d974d642730ecf603d00c2ca00cfb4e8e99;hp=b17207fbd4290561efbf2e70c10e7db3cfca0409;hpb=93502a5e0adcfc0ce6cf8e3daa7eb9a4f4e53658;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/blackfin/include/asm/portmux.h b/arch/blackfin/include/asm/portmux.h index b17207f..003694b 100644 --- a/arch/blackfin/include/asm/portmux.h +++ b/arch/blackfin/include/asm/portmux.h @@ -17,16 +17,15 @@ #define P_MAYSHARE 0x2000 #define P_DONTCARE 0x1000 -#ifndef CONFIG_BFIN_GPIO_TRACK -#define peripheral_request(per, label) peripheral_request(per) -#define peripheral_request_list(per, label) peripheral_request_list(per) -#endif +#ifndef __ASSEMBLY__ int peripheral_request(unsigned short per, const char *label); void peripheral_free(unsigned short per); int peripheral_request_list(const unsigned short per[], const char *label); void peripheral_free_list(const unsigned short per[]); +#endif + #include #ifndef P_SPORT2_TFS