From: Wolfgang Denk Date: Sat, 24 Apr 2010 22:32:41 +0200 Subject: [U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers In-Reply-To: <1272130031-26230-2-git-send-email-agust@denx.de> References: <20100423095621.2D27D1A09F@gemini.denx.de> <1272130031-26230-1-git-send-email-agust@denx.de> <1272130031-26230-2-git-send-email-agust@denx.de> Message-ID: <20100424203241.5E8EBEDD5FB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1272130031-26230-2-git-send-email-agust@denx.de> you wrote: > Subsequent patch extends mpc512x serial driver to support > multiple PSC ports. The driver will provide an uninit() > function to stop the serial controller and to disable the > controller's clock. Adding uninit() entry to struct serial_device > allows disabling the serial controller after usage of > a stdio serial device. > > This patch adds uninit() entry to the struct serial_device > and fixes initialization of this structure in the code > accordingly. > > Signed-off-by: Anatolij Gustschin > --- > arch/powerpc/cpu/mpc5xxx/serial.c | 2 ++ > arch/powerpc/cpu/mpc8xx/serial.c | 2 ++ > arch/powerpc/cpu/ppc4xx/4xx_uart.c | 2 ++ > board/logicpd/zoom2/zoom2_serial.h | 1 + > drivers/serial/serial.c | 1 + > drivers/serial/serial_pxa.c | 3 +++ > drivers/serial/serial_s3c24x0.c | 1 + > drivers/serial/serial_s5pc1xx.c | 1 + > include/serial.h | 1 + > 9 files changed, 14 insertions(+), 0 deletions(-) This patch is actually not 5xxx related, so I pull it directly into "master". Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There is, however, a strange, musty smell in the air that reminds me of something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit. - Larry Wall in Configure from the perl distribution