svn commit: r238325 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Tue Jul 10 01:13:01 UTC 2012
Author: imp
Date: Tue Jul 10 01:13:00 2012
New Revision: 238325
URL: http://svn.freebsd.org/changeset/base/238325
Log:
There's nothing AT91RM9200 specific about this file at all.
Modified:
head/sys/arm/at91/uart_bus_at91usart.c
Modified: head/sys/arm/at91/uart_bus_at91usart.c
==============================================================================
--- head/sys/arm/at91/uart_bus_at91usart.c Tue Jul 10 00:58:40 2012 (r238324)
+++ head/sys/arm/at91/uart_bus_at91usart.c Tue Jul 10 01:13:00 2012 (r238325)
@@ -42,33 +42,32 @@ __FBSDID("$FreeBSD$");
#include <dev/uart/uart_bus.h>
#include <dev/uart/uart_cpu.h>
-#include <arm/at91/at91rm92reg.h>
#include <arm/at91/at91var.h>
#include "uart_if.h"
-static int usart_at91rm92_probe(device_t dev);
+static int usart_at91_probe(device_t dev);
extern struct uart_class at91_usart_class;
-static device_method_t usart_at91rm92_methods[] = {
+static device_method_t usart_at91_methods[] = {
/* Device interface */
- DEVMETHOD(device_probe, usart_at91rm92_probe),
+ DEVMETHOD(device_probe, usart_at91_probe),
DEVMETHOD(device_attach, uart_bus_attach),
DEVMETHOD(device_detach, uart_bus_detach),
{ 0, 0 }
};
-static driver_t usart_at91rm92_driver = {
+static driver_t usart_at91_driver = {
uart_driver_name,
- usart_at91rm92_methods,
+ usart_at91_methods,
sizeof(struct uart_softc),
};
extern SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs;
static int
-usart_at91rm92_probe(device_t dev)
+usart_at91_probe(device_t dev)
{
struct uart_softc *sc;
@@ -104,4 +103,4 @@ usart_at91rm92_probe(device_t dev)
}
-DRIVER_MODULE(uart, atmelarm, usart_at91rm92_driver, uart_devclass, 0, 0);
+DRIVER_MODULE(uart, atmelarm, usart_at91_driver, uart_devclass, 0, 0);
More information about the svn-src-head
mailing list