]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: Include linux/device.h in bugs_64.c
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 23 Jan 2018 16:02:46 +0000 (11:02 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Sat, 27 Jan 2018 00:14:05 +0000 (16:14 -0800)
commit8ab025dbfd1646a57303eaeb3ea198d231fd5b65
tree8a0fabc8aa56cdca6ca45dc3bf38a9891b238046
parentcc99aac46a38e5bd04f3c4ee7973a0f4523351fc
x86: Include linux/device.h in bugs_64.c

struct device_attribute is defined there. Without this file we get

arch/x86/kernel/cpu/bugs_64.c:125: warning: `struct device_attribute¿
declared inside parameter list

Orabug: 27448330

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/kernel/cpu/bugs_64.c