On Fri, Dec 4, 2015 at 11:37 PM, Piotr Madalinski
wrote:
> Hi,
> I'm hacking my openwrt router and look for a proper way to make a serial
> driver call a platform-specific function such as this:
>
> static void ath79_enable_uart(void) {
> if (soc_is_ar933x())
> ath79_gpio_function_enab
Hi,
I'm hacking my openwrt router and look for a proper way to make a serial
driver call a platform-specific function such as this:
static void ath79_enable_uart(void) {
if (soc_is_ar933x())
ath79_gpio_function_enable(AR933X_GPIO_FUNC_UART_EN);
}
and
static void ath79_disable_uart
2 matches
Mail list logo