[CPUFREQ] gx-suspmod: fix "&& 0xff" typo

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
Alexey Dobriyan 2006-11-09 01:04:35 +03:00 committed by Dave Jones
parent caede347c3
commit 6fdc2d0750
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
params->pci_rev = class_rev && 0xff;
params->pci_rev = class_rev & 0xff;
if ((ret = cpufreq_register_driver(&gx_suspmod_driver))) {
kfree(params);