diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-10 21:20:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-07-21 16:41:46 +0200 |
commit | 4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd (patch) | |
tree | 8b414f0b816d7faea139e8e6de2c3aaa0b8207a2 /Documentation/porting.txt | |
parent | 6459b135d9f1cc1aee8d3564a6097ae21e30b2ac (diff) | |
download | barebox-4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd.tar.gz barebox-4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd.tar.xz |
Get rid of remaining DEVICE_TYPE_* usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/porting.txt')
-rw-r--r-- | Documentation/porting.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/porting.txt b/Documentation/porting.txt index 93532a80c8..d59925e5f6 100644 --- a/Documentation/porting.txt +++ b/Documentation/porting.txt @@ -37,7 +37,6 @@ static struct device_d scb9328_serial_device = { .id = "cs0", .map_base = IMX_UART1_BASE, .size = 4096, - .type = DEVICE_TYPE_CONSOLE, }; static int scb9328_console_init(void) @@ -61,7 +60,6 @@ console_initcall(scb9328_console_init); Serial drivers - Declare all functions static. - - register a device of type DEVICE_TYPE_CONSOLE - in your probe function fill in a struct console_device and register it with console_register() |