  In the present work the role that a generalized uncertainty principle could
play in the quantization of the electromagnetic field is analyzed. It will be
shown that we may speak of a Fock space, a result that implies that the concept
of photon is properly defined. Nevertheless, in this new context the creation
and annihilation operators become a function of the new term that modifies the
Heisenberg algebra, and hence the Hamiltonian is not anymore diagonal in the
occupation number representation. Additionally, we show the changes that the
energy expectation value suffers as result of the presence of an extra term in
the uncertainty principle. The existence of a deformed dispersion relation is
also proved.
