Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
81b4e1f6
Commit
81b4e1f6
authored
Jan 16, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DMI: move dmi_available declaration to linux/dmi.h
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
667984d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/firmware/dmi-id.c
drivers/firmware/dmi-id.c
+0
-2
include/linux/dmi.h
include/linux/dmi.h
+2
-0
No files found.
drivers/firmware/dmi-id.c
View file @
81b4e1f6
...
...
@@ -173,8 +173,6 @@ static struct device *dmi_dev;
if (dmi_get_system_info(_field)) \
sys_dmi_attributes[i++] = &sys_dmi_##_name##_attr.dev_attr.attr;
extern
int
dmi_available
;
/* In a separate function to keep gcc 3.2 happy - do NOT merge this in
dmi_id_init! */
static
void
__init
dmi_id_init_attr_table
(
void
)
...
...
include/linux/dmi.h
View file @
81b4e1f6
...
...
@@ -78,6 +78,7 @@ extern const struct dmi_device * dmi_find_device(int type, const char *name,
extern
void
dmi_scan_machine
(
void
);
extern
int
dmi_get_year
(
int
field
);
extern
int
dmi_name_in_vendors
(
const
char
*
str
);
extern
int
dmi_available
;
#else
...
...
@@ -87,6 +88,7 @@ static inline const struct dmi_device * dmi_find_device(int type, const char *na
const
struct
dmi_device
*
from
)
{
return
NULL
;
}
static
inline
int
dmi_get_year
(
int
year
)
{
return
0
;
}
static
inline
int
dmi_name_in_vendors
(
const
char
*
s
)
{
return
0
;
}
#define dmi_available 0
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment