diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2009-09-30 13:17:21 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-22 10:09:28 +0400 |
commit | e95646c3ec33c8ec0693992da4332a6b32eb7e31 (patch) | |
tree | 7855767cc4dccdefc4ea64584cc01b64f92176f3 /include/linux/Kbuild | |
parent | f8b12e513b953aebf30f8ff7d2de9be7e024dbbe (diff) | |
download | linux-e95646c3ec33c8ec0693992da4332a6b32eb7e31.tar.xz |
virtio: let header files include virtio_ids.h
Rusty,
commit 3ca4f5ca73057a617f9444a91022d7127041970a
virtio: add virtio IDs file
moved all device IDs into a single file. While the change itself is
a very good one, it can break userspace applications. For example
if a userspace tool wanted to get the ID of virtio_net it used to
include virtio_net.h. This does no longer work, since virtio_net.h
does not include virtio_ids.h.
This patch moves all "#include <linux/virtio_ids.h>" from the C
files into the header files, making the header files compatible with
the old ones.
In addition, this patch exports virtio_ids.h to userspace.
CC: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/Kbuild')
-rw-r--r-- | include/linux/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 3f384d4b163a..1feed71551c9 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -364,6 +364,7 @@ unifdef-y += utsname.h unifdef-y += videodev2.h unifdef-y += videodev.h unifdef-y += virtio_config.h +unifdef-y += virtio_ids.h unifdef-y += virtio_blk.h unifdef-y += virtio_net.h unifdef-y += virtio_9p.h |