pci: Option rom class is a 24-bit number
authorBin Meng <bmeng.cn@gmail.com>
Fri, 24 Apr 2015 07:48:03 +0000 (15:48 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 00:51:49 +0000 (18:51 -0600)
commitd57c2f24fc90ead0c53b06a9ae3daa1b7c44f411
tree04913fa9e38ab712130fd7abad11e1abe9349a67
parentafbf1404c13deca6bbbc4d037e27ddde6150acd8
pci: Option rom class is a 24-bit number

We should pass a u32 class number to pci_rom_probe() instead of a u16.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_rom.c