diff options
| author | Jeff Garzik <jgarzik@redhat.com> | 2003-09-27 16:15:00 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2003-09-27 16:15:00 -0400 |
| commit | 580fb9cd45e3e2fa55eebd57f867f7effb4de4aa (patch) | |
| tree | a3f9ed1f519126f514940161061cb2b578cc70bf /include/linux/mca-legacy.h | |
| parent | 8ce72f29683fd81c998f64cd43136bdcc0ad9747 (diff) | |
[MCA] don't include linux/mca-legacy.h from linux/mca.h.
As the functions and definitions in linux/mca-legacy.h are deprecated,
require that users explicitly include linux/mca-legacy.h as needed.
Prior to this change, _all_ users of linux/mca.h (i.e. proper users)
issued a warning at compile time, when the MCA legacy API was enabled.
Now only actual users of the legacy API cause warnings, not all MCA drivers.
Diffstat (limited to 'include/linux/mca-legacy.h')
| -rw-r--r-- | include/linux/mca-legacy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mca-legacy.h b/include/linux/mca-legacy.h index e250420ca9c7..ae5d7bda2773 100644 --- a/include/linux/mca-legacy.h +++ b/include/linux/mca-legacy.h @@ -7,6 +7,8 @@ #ifndef _LINUX_MCA_LEGACY_H #define _LINUX_MCA_LEGACY_H +#include <linux/mca.h> + #warning "MCA legacy - please move your driver to the new sysfs api" /* MCA_NOTFOUND is an error condition. The other two indicate |
