From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932107AbdGUJcf (ORCPT ); Fri, 21 Jul 2017 05:32:35 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36465 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753547AbdGUJcc (ORCPT ); Fri, 21 Jul 2017 05:32:32 -0400 From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, Alan Cox Cc: =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , Jiri Slaby , linux-serial@vger.kernel.org, Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 0/4] serial: uartps: Dynamic allocation Date: Fri, 21 Jul 2017 11:32:23 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, this is the initial version before next step which is move uart_register_driver to probe function. I was able to get rid of static array with uart_port structures. It was wired with console which is also fixed. And the next step is the most complicated one handle .nr in uart_driver structure in more generic way. Thanks, Michal Michal Simek (4): serial: uartps: Remove console_initcall from the driver serial: uartps: Use dynamic array for console port serial: uartps: Move cnds_uart_get_port to probe serial: uartps: Remove static port array drivers/tty/serial/xilinx_uartps.c | 102 +++++++++++++++---------------------- 1 file changed, 40 insertions(+), 62 deletions(-) -- 1.9.1