X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fmisc%2Fhpilo.c;h=e9c9ef52c76a879909ffe6abb0b2362824df1084;hb=851710a8096131129ad1da79a47d385c4926d114;hp=35693c0a78e28cf916dacf9a80f7e628c2508b98;hpb=60d7a21aedad7cd2dc9c27ca04fb8486aa6fb7da;p=linux-2.6-microblaze.git diff --git a/drivers/misc/hpilo.c b/drivers/misc/hpilo.c index 35693c0a78e2..e9c9ef52c76a 100644 --- a/drivers/misc/hpilo.c +++ b/drivers/misc/hpilo.c @@ -519,9 +519,9 @@ static __poll_t ilo_poll(struct file *fp, poll_table *wait) poll_wait(fp, &data->ccb_waitq, wait); if (is_channel_reset(driver_ccb)) - return POLLERR; + return EPOLLERR; else if (ilo_pkt_recv(data->ilo_hw, driver_ccb)) - return POLLIN | POLLRDNORM; + return EPOLLIN | EPOLLRDNORM; return 0; }