From dad52745227fd06090e73ea535e0b0fe0f667c60 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 10 Jan 2007 04:22:09 +0000 Subject: Add "name" field to struct device to allow human-readable hardware device names. Add "dev" pointer in struct net_device to tie network interfaces back to a hardware device. Force natural alignment of data types in __table() macros. This seems to prevent gcc from taking the unilateral decision to occasionally increase their alignment (which screws up the table packing). --- src/hci/shell.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hci/shell.c') diff --git a/src/hci/shell.c b/src/hci/shell.c index 2a9bfca43..95662b501 100644 --- a/src/hci/shell.c +++ b/src/hci/shell.c @@ -29,8 +29,10 @@ * */ -static struct command commands[0] __table_start ( commands ); -static struct command commands_end[0] __table_end ( commands ); +static struct command commands[0] + __table_start ( struct command, commands ); +static struct command commands_end[0] + __table_end ( struct command, commands ); /** The shell prompt string */ static const char shell_prompt[] = "gPXE> "; -- cgit v1.2.3-55-g7522