Skip to content

Commit

Permalink
[CPUFREQ] gx-suspmod: fix "&& 0xff" typo
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Alexey Dobriyan authored and Dave Jones committed Nov 8, 2006
1 parent caede34 commit 6fdc2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6fdc2d0

Please sign in to comment.